On Tue, Dec 03, 2013 at 03:04:01PM +0100, Stefan Hajnoczi wrote:
> On Fri, Nov 22, 2013 at 12:46:16PM +0530, Bharata B Rao wrote:
> > +qemu_bh_delete(acb->bh);
> > +acb->bh = NULL;
> > +qemu_coroutine_enter(acb->coroutine, NULL);
> > +if (acb->finished) {
> > +*acb->finished
On Fri, Nov 22, 2013 at 12:46:16PM +0530, Bharata B Rao wrote:
> +qemu_bh_delete(acb->bh);
> +acb->bh = NULL;
> +qemu_coroutine_enter(acb->coroutine, NULL);
> +if (acb->finished) {
> +*acb->finished = true;
> +}
Now that aio interfaces are gone ->finished and cancellati
Convert the read, write, flush and discard implementations from aio-based
ones to coroutine based ones.
Signed-off-by: Bharata B Rao
---
block/gluster.c | 168 +---
1 file changed, 63 insertions(+), 105 deletions(-)
diff --git a/block/gluster.