Skip to content

block: Op blocker 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 Latest10 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10commit: Fix error handlingblock/commit.c+1 -11 reply
2/10mirror: Fix permission problem with 'replaces'block/mirror.c+8 -21 reply
3/10mirror: Fix permissions for removing mirror_top_bsblock/mirror.c+4 -11 reply
4/10mirror: Fix error path for dirty bitmap creationblock/mirror.c+1 -41 reply
5/10block: Fix blockdev-snapshot error handlingblockdev.c+3 -12 replies
6/10block: Factor out should_update_child()block.c+27 -152 replies
7/10block: Factor out bdrv_replace_child_noperm()block.c+25 -131 reply
8/10block: Ignore multiple children in bdrv_check_update_perm()block.c include/block/block_int.h+23 -141 reply
9/10block: Handle permission errors in change_parent_backing_link()block.c+44 -61 reply
10/10block: Fix error handling in bdrv_replace_in_backing_chain()block.c block/mirror.c blockdev.c +2 more+20 -301 reply

Reviews trailers per patch

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

PatchPhilippe Mathieu-DaudéEric BlakeFam Zheng
SeriesR-b
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-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 00/10] block: Op blocker fixes

This series fixes a few problems introduced recently with the op blocker series. It includes mainly fix for cases where qemu would abort() instead of doing proper error handling previously. These changes also happen to result in more complete and correct permission checking.

Kevin Wolf (10):
commit: Fix error handling
mirror: Fix permission problem with 'replaces'
mirror: Fix permissions for removing mirror_top_bs
mirror: Fix error path for dirty bitmap creation
block: Fix blockdev-snapshot error handling
block: Factor out should_update_child()
block: Factor out bdrv_replace_child_noperm()
block: Ignore multiple children in bdrv_check_update_perm()
block: Handle permission errors in change_parent_backing_link()
block: Fix error handling in bdrv_replace_in_backing_chain()

 block.c                   | 182 ++++++++++++++++++++++++++++++----------------
 block/commit.c            |   2 +-
 block/mirror.c            |  35 +++++----
 blockdev.c                |   6 +-
 include/block/block.h     |   4 +-
 include/block/block_int.h |   6 +-
 6 files changed, 152 insertions(+), 83 deletions(-)
Signature · 1 line
1.8.3.1