dm cache: add cleaner policy
authorHeinz Mauelshagen <mauelshagen@redhat.com>
Fri, 1 Mar 2013 22:45:52 +0000 (22:45 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 1 Mar 2013 22:45:52 +0000 (22:45 +0000)
commit8735a8134786fa4ef36dee65d7fa779b99ba5fe3
tree0049cda7a855a2ba7d3e0c4628d983a8466fafbc
parentf283635281132af7bc7b90af3c105b8c0f73b9c7
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>
Documentation/device-mapper/cache-policies.txt
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/dm-cache-policy-cleaner.c [new file with mode: 0644]