summaryrefslogtreecommitdiff
path: root/drivers/md/dm-thin-metadata.h
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2015-04-13 11:45:25 +0300
committerMike Snitzer <snitzer@redhat.com>2015-06-12 00:13:04 +0300
commit6550f075f5087459f64c1af71298fc50b102af11 (patch)
tree4822242b4a3499f0700905f725f3b5a44d254722 /drivers/md/dm-thin-metadata.h
parenta5d895a90bf57e5fe87edf48dd1852e7292d570d (diff)
downloadlinux-6550f075f5087459f64c1af71298fc50b102af11.tar.xz
dm thin metadata: add dm_thin_remove_range()
Removes a range of blocks from the btree. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-thin-metadata.h')
-rw-r--r--drivers/md/dm-thin-metadata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/dm-thin-metadata.h b/drivers/md/dm-thin-metadata.h
index f11f14095b93..a938babe4258 100644
--- a/drivers/md/dm-thin-metadata.h
+++ b/drivers/md/dm-thin-metadata.h
@@ -167,6 +167,8 @@ int dm_thin_insert_block(struct dm_thin_device *td, dm_block_t block,
dm_block_t data_block);
int dm_thin_remove_block(struct dm_thin_device *td, dm_block_t block);
+int dm_thin_remove_range(struct dm_thin_device *td,
+ dm_block_t begin, dm_block_t end);
/*
* Queries.