> > +static void quorum_aio_bh(void *opaque)
> > +{
> > + QuorumAIOCB *acb = opaque;
> > + BDRVQuorumState *s = acb->bqs;
> > + int ret;
> > +
> > + ret = s->threshold <= acb->success_count ? 0 : -EIO;
>
> It would be very much preferable if you stored the actual error code
> instead of turning everything into -EIO.I am turning everything into -EIO because multiple errors can happen at the same time. Best regards Benoît
