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

Vladimir Sementsov-Ogievskiy posted 4 patches 2 years, 2 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220215175310.68058-1-vsementsov@virtuozzo.com
Maintainers: Hanna Reitz <hreitz@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Eric Blake <eblake@redhat.com>, John Snow <jsnow@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
There is a newer version of this series
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(-)
[PATCH 0/4] block/dirty-bitmaps: fix and improve bitmap merge
Posted by Vladimir Sementsov-Ogievskiy 2 years, 2 months ago
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(-)

-- 
2.31.1