Skip to content

block: bdrv_reopen() fixes

Kevin Wolf qemu-devel 1 version Applied

Status from this message: Applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 15 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5block: Fix order in bdrv_replace_child()block.c+2 -22 replies
2/5block: Allow reopen rw without BDRV_O_ALLOW_RDWRblock.c include/block/block.h+9 -55 replies
3/5block: Set BDRV_O_ALLOW_RDWR during rw reopenblock.c+4 -12 replies
4/5qemu-io: Allow reopen read-writeqemu-io-cmds.c+17 -22 replies
5/5qemu-iotests: Test reopen between read-only and read-writetests/qemu-iotests/187 tests/qemu-iotests/187.out tests/qemu-iotests/group+88 -02 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric BlakeJeff CodyJohn Snow
SeriesR-b
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-2.10 0/5] block: bdrv_reopen() fixes

This is the first part of some fixes to bdrv_reopen(), which seems reasonable enough to merge for 2.10.

There is much more wrong with bdrv_reopen() currently, especially with respect to op blocker permissions (basically the required permissions can change based on the options used in bdrv_reopen(), and both things affect the whole tree and aren't integrated with each other at all), but I have little hope to get this fixed before 2.10, so let's start with what is ready now.

Kevin Wolf (5):
block: Fix order in bdrv_replace_child()
block: Allow reopen rw without BDRV_O_ALLOW_RDWR
block: Set BDRV_O_ALLOW_RDWR during rw reopen
qemu-io: Allow reopen read-write
qemu-iotests: Test reopen between read-only and read-write

 include/block/block.h      |  3 +-
 block.c                    | 20 +++++++++-----
 qemu-io-cmds.c             | 19 +++++++++++--
 tests/qemu-iotests/187     | 69 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/187.out | 18 ++++++++++++
 tests/qemu-iotests/group   |  1 +
 6 files changed, 120 insertions(+), 10 deletions(-)
 create mode 100755 tests/qemu-iotests/187
 create mode 100644 tests/qemu-iotests/187.out
Signature · 1 line
2.13.3