backup: fix skipping unallocated clusters
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | block/dirty-bitmap: switch _next_dirty_area and _next_zero to int64_tblock/ block/ include/ +3 more | +36 | 0 replies | |
| 2/4 | block/dirty-bitmap: add _next_dirty APIblock/ include/ include/ +1 more | +54 | 0 replies | |
| 3/4 | block/backup: use bdrv_dirty_bitmap_next_dirtyblock/ block/ | +3 | 0 replies | |
| 4/4 | block/backup: fix and improve skipping unallocated in backup_do_cowblock/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/4] backup: fix skipping unallocated clusters
Hi all!
There is a bug in not yet merged patch
"block/backup: teach TOP to never copy unallocated regions"
in https://github.com/jnsnow/qemu bitmaps. 04 fixes it. So, I propose to put 01-03 somewhere before
"block/backup: teach TOP to never copy unallocated regions"
and squash 04 into "block/backup: teach TOP to never copy unallocated regions"
Based-on: https://github.com/jnsnow/qemu bitmaps
Vladimir Sementsov-Ogievskiy (4):
block/dirty-bitmap: switch _next_dirty_area and _next_zero to int64_t block/dirty-bitmap: add _next_dirty API
block/backup: use bdrv_dirty_bitmap_next_dirty block/backup: fix and improve skipping unallocated in backup_do_cow
include/block/dirty-bitmap.h | 8 ++-- include/qemu/hbitmap.h | 18 +++++++-- block/backup.c | 33 ++++++++++------- block/dirty-bitmap.c | 12 ++++-- block/mirror.c | 4 +- tests/test-hbitmap.c | 32 ++++++++-------- util/hbitmap.c | 72 ++++++++++++++++++++---------------- block/trace-events | 1 - 8 files changed, 107 insertions(+), 73 deletions(-)
Signature · 1 line
2.18.0