diff options
author | Vladimir Sementsov-Ogievskiy | 2019-10-11 11:07:08 +0200 |
---|---|---|
committer | Max Reitz | 2019-10-28 11:22:30 +0100 |
commit | 5c511ac375a859dd12a4c82b56549791570442d3 (patch) | |
tree | 844a8ce85fbb450352c8cf7d6bbdcc2ab2d8adb4 /tests/test-bdrv-graph-mod.c | |
parent | hbitmap: handle set/reset with zero length (diff) | |
download | qemu-5c511ac375a859dd12a4c82b56549791570442d3.tar.gz qemu-5c511ac375a859dd12a4c82b56549791570442d3.tar.xz qemu-5c511ac375a859dd12a4c82b56549791570442d3.zip |
block/mirror: simplify do_sync_target_write
do_sync_target_write is called from bdrv_mirror_top_do_write after
write/discard operation, all inside active_write/active_write_settle
protecting us from mirror iteration. So the whole area is dirty for
sure, no reason to examine dirty bitmap.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20191011090711.19940-3-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/test-bdrv-graph-mod.c')
0 files changed, 0 insertions, 0 deletions