OSDN Git Service

dm cache policy mq: simplify ability to promote sequential IO to the cache
authorMike Snitzer <snitzer@redhat.com>
Thu, 30 Oct 2014 14:02:01 +0000 (10:02 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:30 +0000 (15:25 -0500)
commitf1afb36a6102b52949c2c6d8eb250eddcce3fc5f
treef8e7143d1118635d88c6989ebb80654c109756f9
parentb155aa0e5a81ea1f05ff7aced0ec8e34c980c19e
dm cache policy mq: simplify ability to promote sequential IO to the cache

Before, if the user wanted sequential IO to be promoted to the cache
they'd have to set sequential_threshold to some nebulous large value.

Now, the user may easily disable sequential IO detection (and sequential
IO's implicit bypass of the cache) by setting sequential_threshold to 0.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Documentation/device-mapper/cache-policies.txt
drivers/md/dm-cache-policy-mq.c