Re: [Qemu-devel] [RFC PATCH 3/8] quorum: Implement .bdrv_co_readv/writev

2016-11-16 Thread Alberto Garcia
On Thu 10 Nov 2016 06:19:04 PM CET, Kevin Wolf wrote: > +typedef struct QuorumCo { > +QuorumAIOCB *acb; > int i; Maybe 'i' could rename to something a bit more descriptive ('idx', I don't know). > +} QuorumCo; > + > +static void read_quorum_children_entry(void *opaque) > +{ > +Quoru

Re: [Qemu-devel] [RFC PATCH 3/8] quorum: Implement .bdrv_co_readv/writev

2016-11-10 Thread Eric Blake
On 11/10/2016 11:19 AM, Kevin Wolf wrote: > Signed-off-by: Kevin Wolf > --- > block/quorum.c | 194 > ++--- > 1 file changed, 117 insertions(+), 77 deletions(-) > > + > +static void read_quorum_children_entry(void *opaque) > +{ > +Quorum

[Qemu-devel] [RFC PATCH 3/8] quorum: Implement .bdrv_co_readv/writev

2016-11-10 Thread Kevin Wolf
Signed-off-by: Kevin Wolf --- block/quorum.c | 194 ++--- 1 file changed, 117 insertions(+), 77 deletions(-) diff --git a/block/quorum.c b/block/quorum.c index dfa9fd3..3cb579e 100644 --- a/block/quorum.c +++ b/block/quorum.c @@ -97,7 +97,7 @@