Skip to content

block: Fixes for concurrent block jobs

Max Reitz qemu-devel 3 versions – Applied

Status from this message: Thanks, applied to block-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyApplied
  2. v212 patches 9 repliesApplied
  3. v15 patches 14 repliesSuperseded

Changes in v3 from the cover letter

- Rebased on master
- Added two tests to test-bdrv-drain [Kevin]
- Removed new iotest from auto [Thomas]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5block: Keep subtree drained in drop_intermediateblock.c+2 -00 replies
2/5block: Reduce (un)drains when replacing a childblock.c+33 -160 replies
3/5tests: Test polling in bdrv_drop_intermediate()tests/test-bdrv-drain.c+167 -00 replies
4/5tests: Test mid-drain bdrv_replace_child_noperm()tests/test-bdrv-drain.c+308 -00 replies
5/5iotests: Add test for concurrent stream/committests/qemu-iotests/258 tests/qemu-iotests/258.out tests/qemu-iotests/group+197 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchKevin Wolf
1/5R-b
2/5
3/5
4/5
5/5

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/5] block: Fixes for concurrent block jobs

I think the patches speak for themselves now.

(The title of this series alludes to what the iotest added in the final patch tests.)

v3:
- Rebased on master
- Added two tests to test-bdrv-drain [Kevin]
- Removed new iotest from auto [Thomas]

git-backport-diff against v2:

Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/5:[----] [--] 'block: Keep subtree drained in drop_intermediate' 002/5:[0004] [FC] 'block: Reduce (un)drains when replacing a child' 003/5:[down] 'tests: Test polling in bdrv_drop_intermediate()' 004/5:[down] 'tests: Test mid-drain bdrv_replace_child_noperm()' 005/5:[0002] [FC] 'iotests: Add test for concurrent stream/commit'

Max Reitz (5):
block: Keep subtree drained in drop_intermediate
block: Reduce (un)drains when replacing a child
tests: Test polling in bdrv_drop_intermediate()
tests: Test mid-drain bdrv_replace_child_noperm()
iotests: Add test for concurrent stream/commit

 block.c                    |  51 ++--
 tests/test-bdrv-drain.c    | 475 +++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/258     | 163 +++++++++++++
 tests/qemu-iotests/258.out |  33 +++
 tests/qemu-iotests/group   |   1 +
 5 files changed, 707 insertions(+), 16 deletions(-)
 create mode 100755 tests/qemu-iotests/258
 create mode 100644 tests/qemu-iotests/258.out
Signature · 1 line
2.21.0