Skip to content

iotests improvements for mirror-sparse and others

Eric Blake qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 7 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iotests: Use disk_usage in more placestests/qemu-iotests/125 tests/qemu-iotests/308+3 -31 reply
2/3iotests: Improve mirror-sparse on ext4tests/qemu-iotests/tests/mirror-sparse+3 -14 replies
3/3iotests: Filter out ZFS in several teststests/qemu-iotests/106 tests/qemu-iotests/175 tests/qemu-iotests/221 +5 more+37 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchFiona Ebner
1/3R-b T-b
2/3R-b T-b
3/3R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] iotests improvements for mirror-sparse and others

v1 was here:
https://lists.gnu.org/archive/html/qemu-devel/2025-05/msg05449.html

Since then
- add more patches
- don't try sync; that wasn't enough for ZFS

I don't have ZFS locally, so patch 3 WILL need to be tested there (but I did test that the skip mechanism works on ext4 when I intentionally tweak the common.rc code to fail failure); and this only addresses the subset of tests in Fiona's email where I could obviously see some sort of probing of image sizes, and not every test mentioned.

Eric Blake (3):
iotests: Use disk_usage in more places
iotests: Improve mirror-sparse on ext4
iotests: Filter out ZFS in several tests

 tests/qemu-iotests/common.rc                | 30 +++++++++++++++++++++
 tests/qemu-iotests/106                      |  1 +
 tests/qemu-iotests/125                      |  2 +-
 tests/qemu-iotests/175                      |  1 +
 tests/qemu-iotests/221                      |  1 +
 tests/qemu-iotests/253                      |  1 +
 tests/qemu-iotests/308                      |  5 ++--
 tests/qemu-iotests/tests/mirror-sparse      |  5 +++-
 tests/qemu-iotests/tests/write-zeroes-unmap |  1 +
 9 files changed, 43 insertions(+), 4 deletions(-)
Signature · 1 line
2.49.0