14.04.2022 20:57, Paolo Bonzini wrote:
Several coroutine functions in block/nbd.c are not marked as such.  This
patch adds a few more markers; it is not exhaustive, but it focuses
especially on:

- places that wake other coroutines, because aio_co_wake() has very
different semantics inside a coroutine (queuing after yield vs. entering
immediately);

- functions with_co_  in their names, to avoid confusion

Reviewed-by: Eric Blake<ebl...@redhat.com>
Signed-off-by: Paolo Bonzini<pbonz...@redhat.com>

nbd_reply_chunk_iter_receive is forgotten :)

Also, many function headers becomes >80 character length, checkpatch should 
complain.

That all is not critical and may be fixed by follow-up.

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsement...@openvz.org>

--
Best regards,
Vladimir

Reply via email to