Re: [Qemu-devel] [PATCH v7 09/14] block: Add block job transactions

2015-09-24 Thread Fam Zheng
On Tue, 09/22 15:09, John Snow wrote: > > > On 09/21/2015 10:46 PM, Fam Zheng wrote: > > Sometimes block jobs must execute as a transaction group. Finishing > > jobs wait until all other jobs are ready to complete successfully. > > Failure or cancellation of one job cancels the other jobs in the

Re: [Qemu-devel] [PATCH v7 09/14] block: Add block job transactions

2015-09-22 Thread John Snow
On 09/21/2015 10:46 PM, Fam Zheng wrote: > Sometimes block jobs must execute as a transaction group. Finishing > jobs wait until all other jobs are ready to complete successfully. > Failure or cancellation of one job cancels the other jobs in the group. > > Signed-off-by: Stefan Hajnoczi > [Re

[Qemu-devel] [PATCH v7 09/14] block: Add block job transactions

2015-09-21 Thread Fam Zheng
Sometimes block jobs must execute as a transaction group. Finishing jobs wait until all other jobs are ready to complete successfully. Failure or cancellation of one job cancels the other jobs in the group. Signed-off-by: Stefan Hajnoczi [Rewrite the implementation which is now contained in bloc