summaryrefslogtreecommitdiffstats
path: root/drivers/md/Makefile
diff options
context:
space:
mode:
authorHeinz Mauelshagen <mauelshagen@redhat.com>2013-03-01 22:45:52 +0000
committerAlasdair G Kergon <agk@redhat.com>2013-03-01 22:45:52 +0000
commit8735a8134786fa4ef36dee65d7fa779b99ba5fe3 (patch)
tree0049cda7a855a2ba7d3e0c4628d983a8466fafbc /drivers/md/Makefile
parentf283635281132af7bc7b90af3c105b8c0f73b9c7 (diff)
downloadlinux-stable-8735a8134786fa4ef36dee65d7fa779b99ba5fe3.tar.gz
linux-stable-8735a8134786fa4ef36dee65d7fa779b99ba5fe3.tar.bz2
linux-stable-8735a8134786fa4ef36dee65d7fa779b99ba5fe3.zip
dm cache: add cleaner policy
A simple cache policy that writes back all data to the origin. This is used to decommission a dm cache by emptying it. Signed-off-by: Heinz Mauelshagen <mauelshagen@redhat.com> 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/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/Makefile b/drivers/md/Makefile
index adc8710c2408..7ceeaefc0e95 100644
--- a/drivers/md/Makefile
+++ b/drivers/md/Makefile
@@ -13,6 +13,7 @@ dm-log-userspace-y \
dm-thin-pool-y += dm-thin.o dm-thin-metadata.o
dm-cache-y += dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o
dm-cache-mq-y += dm-cache-policy-mq.o
+dm-cache-cleaner-y += dm-cache-policy-cleaner.o
md-mod-y += md.o bitmap.o
raid456-y += raid5.o
@@ -48,6 +49,7 @@ obj-$(CONFIG_DM_THIN_PROVISIONING) += dm-thin-pool.o
obj-$(CONFIG_DM_VERITY) += dm-verity.o
obj-$(CONFIG_DM_CACHE) += dm-cache.o
obj-$(CONFIG_DM_CACHE_MQ) += dm-cache-mq.o
+obj-$(CONFIG_DM_CACHE_CLEANER) += dm-cache-cleaner.o
ifeq ($(CONFIG_DM_UEVENT),y)
dm-mod-objs += dm-uevent.o