mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common/rc: check fs supports xfs_io falloc's specific flags
For example NFS 4.2 supports fallocate but it does not support its KEEP_SIZE flag, so we want to skip tests that use fallocate with that flag on filesystems that don't support it. Suggested-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
@@ -2022,7 +2022,7 @@ _require_xfs_io_command()
|
||||
testio=`$XFS_IO_PROG -F -f -c "chproj 0" $testfile 2>&1`
|
||||
;;
|
||||
"falloc" )
|
||||
testio=`$XFS_IO_PROG -F -f -c "falloc 0 1m" $testfile 2>&1`
|
||||
testio=`$XFS_IO_PROG -F -f -c "falloc $param 0 1m" $testfile 2>&1`
|
||||
;;
|
||||
"fpunch" | "fcollapse" | "zero" | "fzero" | "finsert" | "funshare")
|
||||
testio=`$XFS_IO_PROG -F -f -c "pwrite 0 20k" -c "fsync" \
|
||||
|
||||
Reference in New Issue
Block a user