Re: [PATCH] [dm-cache] Make the mq policy an alias for smq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 10, 2016 at 12:06:00PM -0500, John Stoffel wrote:
> 
> Can you add in some documentation on how you tell which dm_cache
> policy is actually being used, and how to measure it, etc?  It's a
> black box and some info would be nice.

You can get some stats on the cache performance via the status ioctl
(eg, dmsetup status ...).  This will tell you about
promotions/demotion to the cache, write hits, read hits etc.

There is documentation on cache policies in Documentation/device-mapper/cache-policies.txt

https://github.com/jthornber/linux-2.6/blob/2016-02-10-thin-dev-on-4.4/Documentation/device-mapper/cache-policies.txt

As for knowing which policy is running; I'm not sure what to say.
It'll be the one you ask for.  If the above patch goes in, then
there'll be a kernel version where mq becomes the same as smq.  I'll
bump the policy version number to make it clear that mq has undergone
a big change.

- Joe

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux