Re: [Qemu-devel] [PATCH v2 05/11] block: add transactional callbacks feature

2015-04-17 Thread John Snow
On 04/17/2015 11:41 AM, Max Reitz wrote: On 27.03.2015 20:19, John Snow wrote: The goal here is to add a new method to transactions that allows developers to specify a callback that will get invoked only once all jobs spawned by a transaction are completed, allowing developers the chance to pe

Re: [Qemu-devel] [PATCH v2 05/11] block: add transactional callbacks feature

2015-04-17 Thread Max Reitz
On 27.03.2015 20:19, John Snow wrote: The goal here is to add a new method to transactions that allows developers to specify a callback that will get invoked only once all jobs spawned by a transaction are completed, allowing developers the chance to perform actions conditionally pending complete

[Qemu-devel] [PATCH v2 05/11] block: add transactional callbacks feature

2015-03-27 Thread John Snow
The goal here is to add a new method to transactions that allows developers to specify a callback that will get invoked only once all jobs spawned by a transaction are completed, allowing developers the chance to perform actions conditionally pending complete success, partial failure, or complete f