mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
reflink: add _require_odirect to the directio tests
For the tests that test O_DIRECT, we need to _require_odirect. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
@@ -47,6 +47,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_test_reflink
|
_require_test_reflink
|
||||||
_require_cp_reflink
|
_require_cp_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_test_reflink
|
_require_test_reflink
|
||||||
_require_cp_reflink
|
_require_cp_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ _supported_os Linux
|
|||||||
_require_test_reflink
|
_require_test_reflink
|
||||||
_require_cp_reflink
|
_require_cp_reflink
|
||||||
_require_xfs_io_command "fzero"
|
_require_xfs_io_command "fzero"
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_cp_reflink
|
_require_cp_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
echo "Format and mount"
|
echo "Format and mount"
|
||||||
_scratch_mkfs > $seqres.full 2>&1
|
_scratch_mkfs > $seqres.full 2>&1
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_cp_reflink
|
_require_cp_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
echo "Format and mount"
|
echo "Format and mount"
|
||||||
_scratch_mkfs > $seqres.full 2>&1
|
_scratch_mkfs > $seqres.full 2>&1
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ _cleanup()
|
|||||||
# real QA test starts here
|
# real QA test starts here
|
||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
echo "Format and mount"
|
echo "Format and mount"
|
||||||
_scratch_mkfs > $seqres.full 2>&1
|
_scratch_mkfs > $seqres.full 2>&1
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_cp_reflink
|
_require_cp_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ _cleanup()
|
|||||||
# real QA test starts here
|
# real QA test starts here
|
||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ _require_cp_reflink
|
|||||||
_require_xfs_io_command "falloc"
|
_require_xfs_io_command "falloc"
|
||||||
_require_xfs_io_command "fpunch"
|
_require_xfs_io_command "fpunch"
|
||||||
test $FSTYP = "btrfs" && _notrun "Can't fragment free space on btrfs."
|
test $FSTYP = "btrfs" && _notrun "Can't fragment free space on btrfs."
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_xfs_io_command "falloc"
|
_require_xfs_io_command "falloc"
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_xfs_io_command "falloc"
|
_require_xfs_io_command "falloc"
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_xfs_io_command "falloc"
|
_require_xfs_io_command "falloc"
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_xfs_io_command "falloc"
|
_require_xfs_io_command "falloc"
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ _require_scratch_reflink
|
|||||||
_require_xfs_io_command "falloc"
|
_require_xfs_io_command "falloc"
|
||||||
_require_xfs_io_command "fpunch"
|
_require_xfs_io_command "fpunch"
|
||||||
_require_cp_reflink
|
_require_cp_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ _require_scratch_reflink
|
|||||||
_require_xfs_io_command "falloc"
|
_require_xfs_io_command "falloc"
|
||||||
_require_xfs_io_command "fpunch"
|
_require_xfs_io_command "fpunch"
|
||||||
_require_cp_reflink
|
_require_cp_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_cp_reflink
|
_require_cp_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ _cleanup()
|
|||||||
# real QA test starts here
|
# real QA test starts here
|
||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_xfs_io_command "falloc"
|
_require_xfs_io_command "falloc"
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_xfs_io_command "falloc"
|
_require_xfs_io_command "falloc"
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ _cleanup()
|
|||||||
_supported_os Linux
|
_supported_os Linux
|
||||||
_require_scratch_reflink
|
_require_scratch_reflink
|
||||||
_require_xfs_io_command "falloc"
|
_require_xfs_io_command "falloc"
|
||||||
|
_require_odirect
|
||||||
|
|
||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user