]> git.baikalelectronics.ru Git - kernel.git/commit
dm cache: add mq policy
authorJoe Thornber <ejt@redhat.com>
Fri, 1 Mar 2013 22:45:51 +0000 (22:45 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 1 Mar 2013 22:45:51 +0000 (22:45 +0000)
commit2b7be7cf1a8567a96829c538b81a0bd20914cb5e
tree5ea66de48bc1f93a34b301986fa5455e53ac5a4c
parent7dc177ed8388235070e6acbe37ccb381624c9a43
dm cache: add mq policy

A cache policy that uses a multiqueue ordered by recent hit
count to select which blocks should be promoted and demoted.
This is meant to be a general purpose policy.  It prioritises
reads over writes.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Documentation/device-mapper/cache-policies.txt [new file with mode: 0644]
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/dm-cache-policy-mq.c [new file with mode: 0644]