commit | 65790ff919e2e07ccb4457415c11075b245d643b | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Fri Nov 08 16:39:50 2013 +0000 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Nov 11 11:37:51 2013 -0500 |
tree | 9e2e0c667cf0fe62d72c1c37514d2535aa52ba5b | |
parent | 532906aa7f9656209f30f08dfadd328fc1bc6912 [diff] |
dm cache: add cache block invalidation support Cache block invalidation is removing an entry from the cache without writing it back. Cache blocks can be invalidated via the 'invalidate_cblocks' message, which takes an arbitrary number of cblock ranges: invalidate_cblocks [<cblock>|<cblock begin>-<cblock end>]* E.g. dmsetup message my_cache 0 invalidate_cblocks 2345 3456-4567 5678-6789 Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>