diff options
author | Joe Thornber <ejt@redhat.com> | 2015-04-13 10:45:25 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-06-11 23:13:04 +0200 |
commit | 6550f075f5087459f64c1af71298fc50b102af11 (patch) | |
tree | 4822242b4a3499f0700905f725f3b5a44d254722 /drivers/md/dm-thin-metadata.h | |
parent | dm thin metadata: add dm_thin_find_mapped_range() (diff) | |
download | linux-6550f075f5087459f64c1af71298fc50b102af11.tar.xz linux-6550f075f5087459f64c1af71298fc50b102af11.zip |
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.h | 2 |
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. |