Re: [Qemu-devel] [PATCH 18/21] backup: new async architecture

2017-01-31 Thread Stefan Hajnoczi
On Fri, Dec 23, 2016 at 05:29:01PM +0300, Vladimir Sementsov-Ogievskiy wrote: Just a few comments. I need to resume review of this series tomorrow. > diff --git a/include/block/blockjob.h b/include/block/blockjob.h > index 1acb256..7d24cf6 100644 > --- a/include/block/blockjob.h > +++ b/include/

[Qemu-devel] [PATCH 18/21] backup: new async architecture

2016-12-23 Thread Vladimir Sementsov-Ogievskiy
New async scheme: all copying is done by worker coroutines. Main block-job coroutine serves initial skipping of unallocated clusters, and also all pauses, error handling, throttling. Notifiers just mark clusters as awaited (by adding NotifierRequest to the list) and wait for some time (5 sec) for