diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-04-14 19:57:49 +0200 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2022-04-26 13:16:35 -0500 |
commit | 0c43c6fc896ff0894627b9464c3db94a33c8c7ac (patch) | |
tree | 720ecdbb54cf1c12062876dee52c5bb72ad534a5 /chardev | |
parent | 8846b7d1c137ba261b2300b20e94ae360d88a538 (diff) |
nbd: mark more coroutine_fns
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 <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220414175756.671165-3-pbonzini@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Reviewed-by: Lukas Straub <lukasstraub2@web.de>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'chardev')
0 files changed, 0 insertions, 0 deletions