summary refs log tree commit diff stats
path: root/util/hbitmap.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-08-01 19:39:00 +0200
committerMax Reitz <mreitz@redhat.com>2019-08-06 13:17:17 +0200
commit5f594a2e99f19ca0f7744d333bcd556f5976b78f (patch)
treeaa918a9abc4c80c763cf619cfd78b271db0e2403 /util/hbitmap.c
parent4a5b91ca024fc6fd87021c54655af76a35f2ef1e (diff)
downloadfocaccia-qemu-5f594a2e99f19ca0f7744d333bcd556f5976b78f.tar.gz
focaccia-qemu-5f594a2e99f19ca0f7744d333bcd556f5976b78f.zip
iotests: Test backup job with two guest writes
Perform two guest writes to not yet backed up areas of an image, where
the former touches an inner area of the latter.

Before HEAD^, copy offloading broke this in two ways:
(1) The target image differs from the reference image (what the source
    was when the backup started).
(2) But you will not see that in the failing output, because the job
    offset is reported as being greater than the job length.  This is
    because one cluster is copied twice, and thus accounted for twice,
    but of course the job length does not increase.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190801173900.23851-3-mreitz@redhat.com
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'util/hbitmap.c')
0 files changed, 0 insertions, 0 deletions