]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb0064d3001a1662f94ca5224dbb2c9c95d8bd30
treef8e7143d1118635d88c6989ebb80654c109756f9
parent22a15fd3bddb2df96b7d0f227f479dea32a44243
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