Re: [Qemu-devel] [RFC PATCH 5/8] quorum: Inline quorum_aio_cb()

2016-11-17 Thread Alberto Garcia
On Thu 10 Nov 2016 06:19:06 PM CET, Kevin Wolf wrote: > This is a conversion to a more natural coroutine style and improves the > readability of the driver. > > Signed-off-by: Kevin Wolf With this patch read_quorum_children_entry() and write_quorum_entry() become identical (except for bdrv_co_{pr

[Qemu-devel] [RFC PATCH 5/8] quorum: Inline quorum_aio_cb()

2016-11-10 Thread Kevin Wolf
This is a conversion to a more natural coroutine style and improves the readability of the driver. Signed-off-by: Kevin Wolf --- block/quorum.c | 112 ++--- 1 file changed, 51 insertions(+), 61 deletions(-) diff --git a/block/quorum.c b/block/