Skip to content

block/dirty-bitmaps: fix and improve bitmap merge

Vladimir Sementsov-Ogievskiy qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 7 repliesSuperseded

Changes in v2 from the cover letter

01: take older patch which is better and has r-b
02: add Nikita's r-b
03: rewrite to keep original logic of no backup on failure path 04: fix comment, add missed "ret = true", keep Nikita's r-b

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block/dirty-bitmap: bdrv_merge_dirty_bitmap(): add return valueblock/dirty-bitmap.c block/monitor/bitmap-qmp-cmds.c include/block/dirty-bitmap.h+9 -70 replies
2/4block: block_dirty_bitmap_merge(): fix error pathblock/monitor/bitmap-qmp-cmds.c+4 -10 replies
3/4block: improve block_dirty_bitmap_merge(): don't allocate extra bitmapblock/monitor/bitmap-qmp-cmds.c+19 -200 replies
4/4block: simplify handling of try to merge different sized bitmapsblock/backup.c block/dirty-bitmap.c include/block/block_int.h +2 more+23 -520 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchNikita LapshinHanna Reitz
1/4R-b
2/4R-b
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

v2:
01: take older patch which is better and has r-b
02: add Nikita's r-b
03: rewrite to keep original logic of no backup on failure path 04: fix comment, add missed "ret = true", keep Nikita's r-b

Vladimir Sementsov-Ogievskiy (4):
block/dirty-bitmap: 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            | 36 ++++++++++++++---------------
 block/monitor/bitmap-qmp-cmds.c | 41 ++++++++++++++++-----------------
 util/hbitmap.c                  | 25 ++++++--------------
 7 files changed, 51 insertions(+), 76 deletions(-)
Signature · 1 line
2.31.1