On Tue, 02/02 18:20, Max Reitz wrote: > On 13.01.2016 03:50, Fam Zheng wrote: > > The "pnum < nb_sectors" condition in deciding whether to actually copy > > data is unnecessarily strict, and the qiov initialization is > > unnecessarily for bdrv_aio_write_zeroes and bdrv_aio_discard. > > > > Rewrite mirror_iteration to fix both flaws. > > > > The output of iotests 109 is updated because we now report the offset > > and len slightly differently in mirroring progress. > > > > Signed-off-by: Fam Zheng <f...@redhat.com> > > --- > > block/mirror.c | 333 > > +++++++++++++++++++++++++++------------------ > > tests/qemu-iotests/109.out | 80 +++++------ > > trace-events | 1 - > > 3 files changed, 242 insertions(+), 172 deletions(-) > > Unfortunately, this patch now conflicts with your series that added the > @file parameter to bdrv_get_block_status():
Thanks, I will send V11. Fam