Skip to content

Make image fleecing more usable

Vladimir Sementsov-Ogievskiy qemu-devel 6 versions – Applied

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

  1. v6 Latest16 patches 1 replyApplied
  2. v516 patches 7 repliesSuperseded
  3. v418 patches 17 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v319 patches18 repliesSuperseded
v219 patches4 repliesSuperseded
v1 RFC10 of 11 patches0 repliesSuperseded

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 filesSizeRepliesApplied
1/16block/block-copy: move copy_bitmap initialization to block_copy_state_new()block/block-copy.c block/copy-before-write.c+1 -40 replies
2/16block/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
3/16block/block-copy: block_copy_state_new(): add bitmap parameterblock/block-copy.c block/copy-before-write.c include/block/block-copy.h+15 -20 replies
4/16block/copy-before-write: add bitmap open parameterblock/copy-before-write.c qapi/block-core.json+59 -20 replies
5/16block/block-copy: add block_copy_reset()block/block-copy.c include/block/block-copy.h+14 -80 replies
6/16block: intoduce reqlistMAINTAINERS block/block-copy.c block/meson.build +2 more+184 -800 replies
7/16block/reqlist: reqlist_find_conflict(): use ranges_overlap()block/reqlist.c+2 -10 replies
8/16block/dirty-bitmap: introduce bdrv_dirty_bitmap_status()block/dirty-bitmap.c include/block/dirty-bitmap.h include/qemu/hbitmap.h +1 more+53 -00 replies
9/16block/reqlist: add reqlist_wait_all()block/reqlist.c include/block/reqlist.h+16 -00 replies
10/16block/io: introduce block driver snapshot-access APIblock/io.c include/block/block_int.h+96 -00 replies
11/16block: introduce snapshot-access block driverMAINTAINERS block/meson.build block/snapshot-access.c +2 more+143 -10 replies
12/16block: copy-before-write: realize snapshot-access APIblock/copy-before-write.c tests/qemu-iotests/257.out+435 -10 replies
13/16iotests/image-fleecing: add test-case for fleecing format nodetests/qemu-iotests/tests/image-fleecing tests/qemu-iotests/tests/image-fleecing.out+120 -200 replies
14/16iotests.py: add qemu_io_pipe_and_status()tests/qemu-iotests/iotests.py+3 -00 replies
15/16iotests/image-fleecing: add test case with bitmaptests/qemu-iotests/tests/image-fleecing tests/qemu-iotests/tests/image-fleecing.out+113 -90 replies
16/16iotests/image-fleecing: test push backup with fleecingtests/qemu-iotests/tests/image-fleecing tests/qemu-iotests/tests/image-fleecing.out+156 -320 replies

Reviews trailers per patch

10 of 16 patches have a Reviewed-by or Acked-by.

PatchHanna ReitzNikita Lapshin
1/16R-b
2/16R-b
3/16R-b
4/16
5/16R-b
6/16R-b
7/16R-b
8/16R-b
9/16R-b R-b
10/16R-b
11/16
12/16
13/16R-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.

Read the v6 thread

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