]> Git Repo - qemu.git/commit
iotests: Test unaligned raw images with O_DIRECT
authorMax Reitz <[email protected]>
Wed, 15 May 2019 04:15:41 +0000 (06:15 +0200)
committerKevin Wolf <[email protected]>
Mon, 20 May 2019 15:08:57 +0000 (17:08 +0200)
commit2fab30c80b33cdc6157c7efe6207e54b6835cf92
tree5fac864c59fef4a4a38d4e32d72d556d490ac74b
parent9c3db310ff0b7473272ae8dce5e04e2f8a825390
iotests: Test unaligned raw images with O_DIRECT

We already have 221 for accesses through the page cache, but it is
better to create a new file for O_DIRECT instead of integrating those
test cases into 221.  This way, we can make use of
_supported_cache_modes (and _default_cache_mode) so the test is
automatically skipped on filesystems that do not support O_DIRECT.

As part of the split, add _supported_cache_modes to 221.  With that, it
no longer fails when run with -c none or -c directsync.

Signed-off-by: Max Reitz <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
tests/qemu-iotests/221
tests/qemu-iotests/253 [new file with mode: 0755]
tests/qemu-iotests/253.out [new file with mode: 0644]
tests/qemu-iotests/group
This page took 0.027124 seconds and 4 git commands to generate.