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)
commitf283635281132af7bc7b90af3c105b8c0f73b9c7
tree5ea66de48bc1f93a34b301986fa5455e53ac5a4c
parentc6b4fcbad044e6fffcc75bba160e720eb8d67d17
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]