diff options
author | Joe Thornber <ejt@redhat.com> | 2013-03-01 17:45:51 -0500 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2013-03-01 17:45:51 -0500 |
commit | f283635281132af7bc7b90af3c105b8c0f73b9c7 (patch) | |
tree | 5ea66de48bc1f93a34b301986fa5455e53ac5a4c /drivers/md/Makefile | |
parent | c6b4fcbad044e6fffcc75bba160e720eb8d67d17 (diff) |
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/Makefile')
-rw-r--r-- | drivers/md/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/Makefile b/drivers/md/Makefile index 24b52560f4d2..adc8710c2408 100644 --- a/drivers/md/Makefile +++ b/drivers/md/Makefile | |||
@@ -12,6 +12,7 @@ dm-log-userspace-y \ | |||
12 | += dm-log-userspace-base.o dm-log-userspace-transfer.o | 12 | += dm-log-userspace-base.o dm-log-userspace-transfer.o |
13 | dm-thin-pool-y += dm-thin.o dm-thin-metadata.o | 13 | dm-thin-pool-y += dm-thin.o dm-thin-metadata.o |
14 | dm-cache-y += dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o | 14 | dm-cache-y += dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o |
15 | dm-cache-mq-y += dm-cache-policy-mq.o | ||
15 | md-mod-y += md.o bitmap.o | 16 | md-mod-y += md.o bitmap.o |
16 | raid456-y += raid5.o | 17 | raid456-y += raid5.o |
17 | 18 | ||
@@ -46,6 +47,7 @@ obj-$(CONFIG_DM_RAID) += dm-raid.o | |||
46 | obj-$(CONFIG_DM_THIN_PROVISIONING) += dm-thin-pool.o | 47 | obj-$(CONFIG_DM_THIN_PROVISIONING) += dm-thin-pool.o |
47 | obj-$(CONFIG_DM_VERITY) += dm-verity.o | 48 | obj-$(CONFIG_DM_VERITY) += dm-verity.o |
48 | obj-$(CONFIG_DM_CACHE) += dm-cache.o | 49 | obj-$(CONFIG_DM_CACHE) += dm-cache.o |
50 | obj-$(CONFIG_DM_CACHE_MQ) += dm-cache-mq.o | ||
49 | 51 | ||
50 | ifeq ($(CONFIG_DM_UEVENT),y) | 52 | ifeq ($(CONFIG_DM_UEVENT),y) |
51 | dm-mod-objs += dm-uevent.o | 53 | dm-mod-objs += dm-uevent.o |