async: Introduce aio_co_enter
commit8865852e00557925f60eb6e26d797833422ee86d
authorFam Zheng <famz@redhat.com>
Mon, 10 Apr 2017 12:07:35 +0000 (10 20:07 +0800)
committerFam Zheng <famz@redhat.com>
Tue, 11 Apr 2017 12:07:15 +0000 (11 20:07 +0800)
tree3f4da272ed71d60b9b248716a7c9b328e2237c38
parentba9e75ceef93000e624ae55faf2e498f96be2ec7
async: Introduce aio_co_enter

They start the coroutine on the specified context.

Signed-off-by: Fam Zheng <famz@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
include/block/aio.h
util/async.c