]> 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)
commita106f3da3a3d583292ad3bd214127a1f6e6c1075
treef8e7143d1118635d88c6989ebb80654c109756f9
parentade73ec6c2b849bdb707440b2a8535db81060d77
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