Skip to content

commit: Support multiple roots above top node

Kevin Wolf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5block: Introduce BdrvChildRole.update_filenameblock.c include/block/block_int.h+34 -51 reply
2/5commit: Support multiple roots above top nodeblock.c block/commit.c+41 -292 replies
3/5qemu-iotests: Allow QMP pretty printing in common.qemutests/qemu-iotests/common.qemu+11 -31 reply
4/5qemu-iotests: Test commit block job where top has two parentstests/qemu-iotests/191 tests/qemu-iotests/191.out tests/qemu-iotests/group+980 -02 replies
5/5commit: Remove overlay_bsblock.c block/commit.c include/block/block.h +1 more+20 -551 reply

Reviews trailers per patch

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

PatchEric Blake
1/5R-b
2/5
3/5R-b
4/5
5/5R-b

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] commit: Support multiple roots above top node

This is a step towards making the commit job flexible enough that it can work with any kind of block graph. Currently, it requires that not only the top and base node of the commit operation are specified, but also the active layer of the backing file chain. Of course, the assumption that a single active layer exists is invalid.

This series makes the commit job consider other roots as well so that all parent nodes of the top node get their backing file updated and stay valid after the commit job completes.

With this, we should have all of the prerequisites for a follow-up series that adds a new and clean blockdev-commit QMP command which doesn't require an option for the active layer and which accepts node names instead of file names for base and top.

Kevin Wolf (5):
block: Introduce BdrvChildRole.update_filename
commit: Support multiple roots above top node
qemu-iotests: Allow QMP pretty printing in common.qemu
qemu-iotests: Test commit block job where top has two parents
commit: Remove overlay_bs

 include/block/block.h          |   3 +-
 include/block/block_int.h      |   6 +
 block.c                        |  91 +++--
 block/commit.c                 |  64 +---
 tests/qemu-iotests/030         |   4 -
 tests/qemu-iotests/191         | 152 ++++++++
 tests/qemu-iotests/191.out     | 827 +++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/common.qemu |  14 +-
 tests/qemu-iotests/group       |   1 +
 9 files changed, 1078 insertions(+), 84 deletions(-)
 create mode 100755 tests/qemu-iotests/191
 create mode 100644 tests/qemu-iotests/191.out
Signature · 1 line
2.13.5