]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests/backup-discard-source: don't use actual-size
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Thu, 20 Jun 2024 14:44:02 +0000 (17:44 +0300)
committerKevin Wolf <kwolf@redhat.com>
Tue, 22 Oct 2024 15:52:49 +0000 (17:52 +0200)
commit526c4a90c48eae2d0c37ae36ec83376b44a4cce4
tree934e97b30fd87f8409840b05299f90622a9808f0
parentb4bc6ad1d79a0fe9c06ada7ff036578f3400258d
iotests/backup-discard-source: don't use actual-size

Relying on disk usage is bad thing, and test just doesn't work on XFS.

Let's instead add a dirty bitmap to track writes to test image.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20240620144402.65896-3-vsementsov@yandex-team.ru>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Tested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/tests/backup-discard-source