diff options
author | Heinz Mauelshagen <mauelshagen@redhat.com> | 2013-03-01 17:45:52 -0500 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2013-03-01 17:45:52 -0500 |
commit | 8735a8134786fa4ef36dee65d7fa779b99ba5fe3 (patch) | |
tree | 0049cda7a855a2ba7d3e0c4628d983a8466fafbc /Documentation | |
parent | f283635281132af7bc7b90af3c105b8c0f73b9c7 (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 'Documentation')
-rw-r--r-- | Documentation/device-mapper/cache-policies.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/device-mapper/cache-policies.txt b/Documentation/device-mapper/cache-policies.txt index 731879f97b80..d7c440b444cc 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 | |||
53 | contiguous I/Os to try to spot when the io is in one of these sequential | 53 | contiguous I/Os to try to spot when the io is in one of these sequential |
54 | modes. | 54 | modes. |
55 | 55 | ||
56 | cleaner | ||
57 | ------- | ||
58 | |||
59 | The cleaner writes back all dirty blocks in a cache to decommission it. | ||
60 | |||
56 | Examples | 61 | Examples |
57 | ======== | 62 | ======== |
58 | 63 | ||