[dm-devel] [PATCH v2 for-3.14] dm cache: add block sizes and total cache blocks to status output

Brassow Jonathan jbrassow at redhat.com
Thu Jan 16 17:18:37 UTC 2014


On Jan 15, 2014, at 10:34 PM, Mike Snitzer wrote:

> On Wed, Jan 15 2014 at  8:16pm -0500,
> Brassow Jonathan <jbrassow at redhat.com> wrote:
> 
>> I know I'm pushing my luck...
>> 
>> Is it too late to ask for just one more thing?  Would you also consider printing the policy name in the status (INFO)?
>>  <policy_name> <#policy args> <policy args>
>> 
>> This is especially useful when you pass in "default" in the CTR, because you cannot get this value from anywhere... right?
> 
> For the benefit of others, I pushed the change here:
> http://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=for-next&id=2f20afc4c3f69030204ce55f24bc68971b500b8a

This doesn't quite produce the info we want.  If I specify "default" in the CTR table, I want the status to show me what the result was (i.e. "mq").  It currently seems to be printing "default" back at me... which isn't helpful.  :)

 brassow





More information about the dm-devel mailing list