On Fri, May 26, 2017 at 10:22:09PM +0200, Kevin Wolf wrote: > This fixes the last place where we degraded from AIO to actual blocking > synchronous I/O requests. Putting it into a coroutine means that instead > of blocking, the coroutine simply yields while doing I/O. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block/qed.c | 33 +++++++++++++++++---------------- > 1 file changed, 17 insertions(+), 16 deletions(-) > > diff --git a/block/qed.c b/block/qed.c > index d3f7d0c..20e81a0 100644 > --- a/block/qed.c > +++ b/block/qed.c > @@ -264,11 +264,23 @@ static void > qed_unplug_allocating_write_reqs(BDRVQEDState *s) > qemu_co_enter_next(&s->allocating_write_reqs); > } > > -static void qed_clear_need_check(void *opaque, int ret) > +static void qed_need_check_timer_entry(void *opaque)
Missing coroutine_fn.
signature.asc
Description: PGP signature