We write open the whole backing chain during reopen. It is not necessary and will cause image locking problems if the backing image is shared.
Fam Zheng (4): block: Pass "current_flags" in BdrvChildRole.inherit_options block: Fix write flags in bdrv_backing_options block: Use the actual current_flags during reopen iotests: Add regression test for commit base locking block.c | 52 +++++++++++++++++++++++++++++----------------- block/block-backend.c | 3 ++- block/vvfat.c | 3 ++- include/block/block_int.h | 3 ++- tests/qemu-iotests/153 | 6 ++++++ tests/qemu-iotests/153.out | 4 ++++ 6 files changed, 49 insertions(+), 22 deletions(-) -- 2.14.3