On 05/04/2016 13:20, Fam Zheng wrote: > See patch 1 for the bug analysis. > > v3: Make bdrv_co_drain a public function and use it directly in > block/mirror.c. > [Stefan]
FWIW, no need to send a v4 with bdrv_co_drained_begin. Paolo > > > Fam Zheng (2): > block: Fix bdrv_drain in coroutine > mirror: Replace bdrv_drain(bs) with bdrv_co_drain(bs) > > block/io.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ > block/mirror.c | 2 +- > include/block/block.h | 1 + > 3 files changed, 47 insertions(+), 1 deletion(-) >