]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/qemu-iotests/tests/mirror-sparse: skip if O_DIRECT is not supported
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 5 Aug 2025 18:17:30 +0000 (21:17 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 5 Aug 2025 19:03:26 +0000 (15:03 -0400)
commitafeb002e0ad49dcf388dedbc6995f6561885e376
treeff1fff59772898898d8fd351b4b6acf504600321
parentb217d987a3c5c6e2473956723b396bc1ff0f5b2b
tests/qemu-iotests/tests/mirror-sparse: skip if O_DIRECT is not supported

This test uses cache.direct=true, but does not check if O_DIRECT
is supported by the underlying filesystem, and fails, for example,
on a tmpfs (which is rather common on various auto-builders, in CI,
etc).

Fix this by using `_supported_cache_modes none directsync`.

Fixes: c0ddcb2cbc146e "tests: Add iotest mirror-sparse for recent patches"
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20250805181731.282677-1-mjt@tls.msk.ru>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qemu-iotests/tests/mirror-sparse