On 04.05.2016 11:39, Kevin Wolf wrote: > We had to forbid mirroring to a target BDS that already had a BB > attached because the node swapping at job completion would add a second > BB and we didn't support multiple BBs on a single BDS at the time. Now > we do, so we can lift the restriction. > As we allow additional BlockBackends for the target, we must expect > other users to be sending requests. There may no requests be in flight > during the graph modification, so we have to drain those users now. > > The core part of this patch is a revert of commit 40365552. > > Signed-off-by: Kevin Wolf <[email protected]> > --- > block/mirror.c | 33 ++++++--------------------------- > blockdev.c | 4 ---- > tests/qemu-iotests/041 | 27 --------------------------- > tests/qemu-iotests/041.out | 4 ++-- > 4 files changed, 8 insertions(+), 60 deletions(-)
I don't really see a use case for this but I guess a ratio of 8+/60- is enough of an argument. Reviewed-by: Max Reitz <[email protected]>
signature.asc
Description: OpenPGP digital signature
