aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorHeinz Mauelshagen <mauelshagen@redhat.com>2013-03-01 17:45:52 -0500
committerAlasdair G Kergon <agk@redhat.com>2013-03-01 17:45:52 -0500
commit8735a8134786fa4ef36dee65d7fa779b99ba5fe3 (patch)
tree0049cda7a855a2ba7d3e0c4628d983a8466fafbc /drivers/md/Kconfig
parentf283635281132af7bc7b90af3c105b8c0f73b9c7 (diff)
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/Kconfig')
-rw-r--r--drivers/md/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index 1a96cbc7afda..e30b490055aa 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -291,6 +291,14 @@ config DM_CACHE_MQ
291 This is meant to be a general purpose policy. It prioritises 291 This is meant to be a general purpose policy. It prioritises
292 reads over writes. 292 reads over writes.
293 293
294config DM_CACHE_CLEANER
295 tristate "Cleaner Cache Policy (EXPERIMENTAL)"
296 depends on DM_CACHE
297 default y
298 ---help---
299 A simple cache policy that writes back all data to the
300 origin. Used when decommissioning a dm-cache.
301
294config DM_MIRROR 302config DM_MIRROR
295 tristate "Mirror target" 303 tristate "Mirror target"
296 depends on BLK_DEV_DM 304 depends on BLK_DEV_DM