block/mirror: Convert to coroutines
commit2e1990b26e5aa1ba1a730aa6281df123bb7a71b6
authorMax Reitz <mreitz@redhat.com>
Wed, 13 Jun 2018 18:18:11 +0000 (13 20:18 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 18 Jun 2018 15:04:48 +0000 (18 17:04 +0200)
tree1d1ce286297da1402c7597c23c07b7c21ac6f918
parent4295c5fc613a6dae55c804b689fdbbeb0c4af816
block/mirror: Convert to coroutines

In order to talk to the source BDS (and maybe in the future to the
target BDS as well) directly, we need to convert our existing AIO
requests into coroutine I/O requests.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20180613181823.13618-3-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/mirror.c