From 8735a8134786fa4ef36dee65d7fa779b99ba5fe3 Mon Sep 17 00:00:00 2001 From: Heinz Mauelshagen Date: Fri, 1 Mar 2013 22:45:52 +0000 Subject: 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 Signed-off-by: Joe Thornber Signed-off-by: Alasdair G Kergon --- Documentation/device-mapper/cache-policies.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Documentation/device-mapper') diff --git a/Documentation/device-mapper/cache-policies.txt b/Documentation/device-mapper/cache-policies.txt index 731879f9..d7c440b 100644 --- a/Documentation/device-mapper/cache-policies.txt +++ b/Documentation/device-mapper/cache-policies.txt @@ -53,6 +53,11 @@ since spindles tend to have good bandwidth. The io_tracker counts contiguous I/Os to try to spot when the io is in one of these sequential modes. +cleaner +------- + +The cleaner writes back all dirty blocks in a cache to decommission it. + Examples ======== -- cgit v1.1