diff options
author | Vladimir Sementsov-Ogievskiy | 2018-03-13 20:34:00 +0100 |
---|---|---|
committer | John Snow | 2018-03-13 22:04:54 +0100 |
commit | 044ee8e143576abd72acf452080e8da531fb13c8 (patch) | |
tree | 76dc801405afe2e5f2844e552efc456dc8666ff1 /include/block/dirty-bitmap.h | |
parent | block/dirty-bitmap: fix locking in bdrv_reclaim_dirty_bitmap (diff) | |
download | qemu-044ee8e143576abd72acf452080e8da531fb13c8.tar.gz qemu-044ee8e143576abd72acf452080e8da531fb13c8.tar.xz qemu-044ee8e143576abd72acf452080e8da531fb13c8.zip |
block/dirty-bitmap: add _locked version of bdrv_reclaim_dirty_bitmap
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180207155837.92351-4-vsementsov@virtuozzo.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/block/dirty-bitmap.h')
-rw-r--r-- | include/block/dirty-bitmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/block/dirty-bitmap.h b/include/block/dirty-bitmap.h index e0ebc96b01..5c239be74d 100644 --- a/include/block/dirty-bitmap.h +++ b/include/block/dirty-bitmap.h @@ -93,5 +93,8 @@ BdrvDirtyBitmap *bdrv_dirty_bitmap_next(BlockDriverState *bs, BdrvDirtyBitmap *bitmap); char *bdrv_dirty_bitmap_sha256(const BdrvDirtyBitmap *bitmap, Error **errp); int64_t bdrv_dirty_bitmap_next_zero(BdrvDirtyBitmap *bitmap, uint64_t start); +BdrvDirtyBitmap *bdrv_reclaim_dirty_bitmap_locked(BlockDriverState *bs, + BdrvDirtyBitmap *bitmap, + Error **errp); #endif |