Re: [Qemu-devel] [PATCH 4/8] quorum: Do cleanup in caller coroutine

2016-11-21 Thread Eric Blake
On 11/21/2016 11:31 AM, Kevin Wolf wrote: > Instead of calling quorum_aio_finalize() deeply nested in what used > to be an AIO callback, do it in the same functions that allocated the > AIOCB. > > Signed-off-by: Kevin Wolf > Reviewed-by: Alberto Garcia > ---

[Qemu-devel] [PATCH 4/8] quorum: Do cleanup in caller coroutine

2016-11-21 Thread Kevin Wolf
Instead of calling quorum_aio_finalize() deeply nested in what used to be an AIO callback, do it in the same functions that allocated the AIOCB. Signed-off-by: Kevin Wolf Reviewed-by: Alberto Garcia --- block/quorum.c | 15 +-- 1 file changed, 9