mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic: mark tests that require O_DIRECT
generic/094 and generic/225 use fiemap-tester, which requires O_DIRECT. generic/311 requests fsync-tester to use O_DIRECT. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
@@ -44,6 +44,7 @@ _cleanup()
|
||||
_supported_fs generic
|
||||
_supported_os Linux
|
||||
_require_scratch
|
||||
_require_odirect
|
||||
_require_xfs_io_command "fiemap"
|
||||
_require_xfs_io_command "falloc"
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@ _cleanup()
|
||||
_supported_fs generic
|
||||
_supported_os Linux
|
||||
_require_scratch
|
||||
_require_odirect
|
||||
_require_xfs_io_command "fiemap"
|
||||
|
||||
_scratch_mkfs > /dev/null 2>&1
|
||||
|
||||
@@ -54,6 +54,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
||||
_supported_fs generic
|
||||
_supported_os Linux
|
||||
_require_scratch_nocheck
|
||||
_require_odirect
|
||||
_require_dm_target flakey
|
||||
_require_metadata_journaling $SCRATCH_DEV
|
||||
|
||||
|
||||
Reference in New Issue
Block a user