On Wed, May 24, 2017 at 10:52:29AM +0800, Fam Zheng wrote: > While blockdev-backup tried to verify before moving target's aio context, the > same is missing for blockdev-mirror. Now that we have the right interface, fix > this as well. > > As a bonus, the aio context move is now conditional, which avoids some > unnecessary operations in bdrv_set_aio_context. > > Signed-off-by: Fam Zheng <f...@redhat.com> > --- > block/mirror.c | 54 ++++++++++++++++++++++++++++++++---------------------- > blockdev.c | 4 ---- > 2 files changed, 32 insertions(+), 26 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature