dm cache: cache shrinking support
authorJoe Thornber <ejt@redhat.com>
Thu, 31 Oct 2013 17:55:49 +0000 (13:55 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 11 Nov 2013 16:37:45 +0000 (11:37 -0500)
commitf494a9c6b1b6dd9a9f21bbb75d9210d478eeb498
treee57197b7d38e7c6b2d718681fd70540ccc9a831e
parentc9d28d5d09a0fd5f02f1321c8e18ff7d9f92270b
dm cache: cache shrinking support

Allow a cache to shrink if the blocks being removed from the cache are
not dirty.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-metadata.c
drivers/md/dm-cache-target.c