diff options
author | Joe Thornber <ejt@redhat.com> | 2013-03-01 22:45:51 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2013-03-01 22:45:51 +0000 |
commit | f283635281132af7bc7b90af3c105b8c0f73b9c7 (patch) | |
tree | 5ea66de48bc1f93a34b301986fa5455e53ac5a4c /drivers/md/Kconfig | |
parent | c6b4fcbad044e6fffcc75bba160e720eb8d67d17 (diff) | |
download | linux-f283635281132af7bc7b90af3c105b8c0f73b9c7.tar.gz linux-f283635281132af7bc7b90af3c105b8c0f73b9c7.tar.bz2 linux-f283635281132af7bc7b90af3c105b8c0f73b9c7.zip |
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>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r-- | drivers/md/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 1a4fbcdb5ca2..1a96cbc7afda 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig @@ -281,6 +281,16 @@ config DM_CACHE algorithms used to select which blocks are promoted, demoted, cleaned etc. It supports writeback and writethrough modes. +config DM_CACHE_MQ + tristate "MQ Cache Policy (EXPERIMENTAL)" + depends on DM_CACHE + default y + ---help--- + 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. + config DM_MIRROR tristate "Mirror target" depends on BLK_DEV_DM |