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

2016-11-17 Thread Alberto Garcia
On Thu 10 Nov 2016 06:19:05 PM CET, 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-block] [RFC PATCH 4/8] quorum: Do cleanup in caller coroutine

2016-11-10 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 --- block/quorum.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git