dm cache: add remove_cblock method to policy interface
authorJoe Thornber <ejt@redhat.com>
Fri, 8 Nov 2013 16:36:17 +0000 (16:36 +0000)
committerMike Snitzer <snitzer@redhat.com>
Mon, 11 Nov 2013 16:37:50 +0000 (11:37 -0500)
commit532906aa7f9656209f30f08dfadd328fc1bc6912
treed8af8f44e38894c97a0d891152723d5b7184edc5
parent633618e3353f8953e43d989d08302f5dcd51d8be
dm cache: add remove_cblock method to policy interface

Implement policy_remove_cblock() and add remove_cblock method to the mq
policy.  These methods will be used by the following cache block
invalidation patch which adds the 'invalidate_cblocks' message to the
cache core.

Also, update some comments in dm-cache-policy.h

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-policy-internal.h
drivers/md/dm-cache-policy-mq.c
drivers/md/dm-cache-policy.h