Re: [Qemu-devel] [PATCH 7/7] block: Add backing_blocker in BlockDriverState

2014-05-23 Thread Stefan Hajnoczi
On Fri, May 23, 2014 at 11:23:23AM +0800, Fam Zheng wrote: > This makes use of op_blocker and blocks all the operations except for > commit target, on each BlockDriverState->backing_hd. > > The asserts for op_blocker in bdrv_swap are removed because with this > change, the target of block commit h

[Qemu-devel] [PATCH 7/7] block: Add backing_blocker in BlockDriverState

2014-05-22 Thread Fam Zheng
This makes use of op_blocker and blocks all the operations except for commit target, on each BlockDriverState->backing_hd. The asserts for op_blocker in bdrv_swap are removed because with this change, the target of block commit has at least the backing blocker of its child, so the assertion is not