OSDN Git Service

qed: Add coroutine_fn to I/O path functions
authorKevin Wolf <kwolf@redhat.com>
Mon, 12 Jun 2017 09:12:41 +0000 (11:12 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 26 Jun 2017 12:51:15 +0000 (14:51 +0200)
commit87f0d88261d120e428cd23305775026556e6cce6
treed1e5ba69edaacf5f22b593a4bc0fe3234c91485e
parentc0e8f98927929b65ffbfb320b7a1c79e0e620006
qed: Add coroutine_fn to I/O path functions

Now that we stay in coroutine context for the whole request when doing
reads or writes, we can add coroutine_fn annotations to many functions
that can do I/O or yield directly.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qed-cluster.c
block/qed.c
block/qed.h