Re: [Qemu-devel] [PATCH v19 07/16] block: Add backing_blocker in BlockDriverState

2014-05-19 Thread Fam Zheng
On Mon, 05/19 22:23, Markus Armbruster wrote: > Eric Blake writes: > > > On 05/11/2014 07:35 PM, 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

Re: [Qemu-devel] [PATCH v19 07/16] block: Add backing_blocker in BlockDriverState

2014-05-19 Thread Markus Armbruster
Eric Blake writes: > On 05/11/2014 07:35 PM, 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 bloc

Re: [Qemu-devel] [PATCH v19 07/16] block: Add backing_blocker in BlockDriverState

2014-05-19 Thread Eric Blake
On 05/11/2014 07:35 PM, 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 has at least the ba

[Qemu-devel] [PATCH v19 07/16] block: Add backing_blocker in BlockDriverState

2014-05-11 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