Make image fleecing more usable
Status from this message: Applied to my block branch:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest16 patches 1 replyApplied
- v516 patches 7 repliesSuperseded
- v418 patches 17 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 19 patches | 18 replies | Superseded | |
| v2 | 19 patches | 4 replies | Superseded | |
| v1 RFC | 10 of 11 patches | 0 replies | Superseded |
Changes in v6 from the cover letter
11: add comment
15: limit to qcow2 with unsupported compat
fix style
16: fix style
change log('Backup finished ...') to assertion and comment
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | block/block-copy: move copy_bitmap initialization to block_copy_state_new()block/ block/ | +1 | 0 replies | |
| 2/16 | block/dirty-bitmap: bdrv_merge_dirty_bitmap(): add return valueblock/ block/ include/ | +9 | 0 replies | |
| 3/16 | block/block-copy: block_copy_state_new(): add bitmap parameterblock/ block/ include/ | +15 | 0 replies | |
| 4/16 | block/copy-before-write: add bitmap open parameterblock/ qapi/ | +59 | 0 replies | |
| 5/16 | block/block-copy: add block_copy_reset()block/ include/ | +14 | 0 replies | |
| 6/16 | block: intoduce reqlistMAINTAINERS block/ block/ +2 more | +184 | 0 replies | |
| 7/16 | block/reqlist: reqlist_find_conflict(): use ranges_overlap()block/ | +2 | 0 replies | |
| 8/16 | block/dirty-bitmap: introduce bdrv_dirty_bitmap_status()block/ include/ include/ +1 more | +53 | 0 replies | |
| 9/16 | block/reqlist: add reqlist_wait_all()block/ include/ | +16 | 0 replies | |
| 10/16 | block/io: introduce block driver snapshot-access APIblock/ include/ | +96 | 0 replies | |
| 11/16 | block: introduce snapshot-access block driverMAINTAINERS block/ block/ +2 more | +143 | 0 replies | |
| 12/16 | block: copy-before-write: realize snapshot-access APIblock/ tests/ | +435 | 0 replies | |
| 13/16 | iotests/image-fleecing: add test-case for fleecing format nodetests/ tests/ | +120 | 0 replies | |
| 14/16 | iotests.py: add qemu_io_pipe_and_status()tests/ | +3 | 0 replies | |
| 15/16 | iotests/image-fleecing: add test case with bitmaptests/ tests/ | +113 | 0 replies | |
| 16/16 | iotests/image-fleecing: test push backup with fleecingtests/ tests/ | +156 | 0 replies |
Reviews trailers per patch
10 of 16 patches have a Reviewed-by or Acked-by.
| Patch | Hanna Reitz | Nikita Lapshin |
|---|---|---|
| 1/16 | R-b | |
| 2/16 | R-b | |
| 3/16 | R-b | |
| 4/16 | ||
| 5/16 | R-b | |
| 6/16 | R-b | |
| 7/16 | R-b | |
| 8/16 | R-b | |
| 9/16 | R-b | R-b |
| 10/16 | R-b | |
| 11/16 | ||
| 12/16 | ||
| 13/16 | R-b | |
| 14/16 | ||
| 15/16 | ||
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 00/16] Make image fleecing more usable
v6:
11: add comment
15: limit to qcow2 with unsupported compat
fix style
16: fix style
change log('Backup finished ...') to assertion and comment
Vladimir Sementsov-Ogievskiy (16):
block/block-copy: move copy_bitmap initialization to
block_copy_state_new()
block/dirty-bitmap: bdrv_merge_dirty_bitmap(): add return value block/block-copy: block_copy_state_new(): add bitmap parameter block/copy-before-write: add bitmap open parameter block/block-copy: add block_copy_reset()
block: intoduce reqlist
block/reqlist: reqlist_find_conflict(): use ranges_overlap() block/dirty-bitmap: introduce bdrv_dirty_bitmap_status() block/reqlist: add reqlist_wait_all()
block/io: introduce block driver snapshot-access API
block: introduce snapshot-access block driver
block: copy-before-write: realize snapshot-access API iotests/image-fleecing: add test-case for fleecing format node iotests.py: add qemu_io_pipe_and_status() iotests/image-fleecing: add test case with bitmap iotests/image-fleecing: test push backup with fleecing
qapi/block-core.json | 14 +- include/block/block-copy.h | 2 + include/block/block_int.h | 33 +++ include/block/dirty-bitmap.h | 4 +- include/block/reqlist.h | 75 ++++++ include/qemu/hbitmap.h | 12 + block/block-copy.c | 150 +++++------ block/copy-before-write.c | 265 +++++++++++++++++++- block/dirty-bitmap.c | 15 +- block/io.c | 69 +++++ block/monitor/bitmap-qmp-cmds.c | 5 +- block/reqlist.c | 85 +++++++ block/snapshot-access.c | 132 ++++++++++ util/hbitmap.c | 33 +++ MAINTAINERS | 5 +- block/meson.build | 2 + tests/qemu-iotests/257.out | 224 +++++++++++++++++ tests/qemu-iotests/iotests.py | 3 + tests/qemu-iotests/tests/image-fleecing | 185 +++++++++++--- tests/qemu-iotests/tests/image-fleecing.out | 223 +++++++++++++++- 20 files changed, 1394 insertions(+), 142 deletions(-) create mode 100644 include/block/reqlist.h create mode 100644 block/reqlist.c create mode 100644 block/snapshot-access.c
Signature · 1 line
2.31.1