mbox series

[0/4] block/dirty-bitmaps: fix and improve bitmap merge

Message ID 20220215175310.68058-1-vsementsov@virtuozzo.com (mailing list archive)
Headers show
Series block/dirty-bitmaps: fix and improve bitmap merge | expand

Message

Vladimir Sementsov-Ogievskiy Feb. 15, 2022, 5:53 p.m. UTC
Hi all!

Here are some good refactoring and fix of bitmap merge paths.

Vladimir Sementsov-Ogievskiy (4):
  block: bdrv_merge_dirty_bitmap: add return value
  block: block_dirty_bitmap_merge(): fix error path
  block: improve block_dirty_bitmap_merge(): don't allocate extra bitmap
  block: simplify handling of try to merge different sized bitmaps

 include/block/block_int.h       |  2 +-
 include/block/dirty-bitmap.h    |  2 +-
 include/qemu/hbitmap.h          | 15 ++-------------
 block/backup.c                  |  6 ++----
 block/dirty-bitmap.c            | 31 ++++++++++++++-----------------
 block/monitor/bitmap-qmp-cmds.c | 31 +++++++++----------------------
 util/hbitmap.c                  | 25 +++++++------------------
 7 files changed, 36 insertions(+), 76 deletions(-)