_supported_os Linux
_require_scratch
+_require_xfs_io_command "falloc"
_filesize()
{
_supported_fs xfs
_supported_os Linux
-[ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found"
-
_require_scratch
+_require_xfs_io_command "falloc"
rm -f $seqres.full
_scratch_unmount >/dev/null 2>&1
# real QA test starts here
_supported_fs xfs
_supported_os Linux
+_require_xfs_io_command "falloc"
_require_test
echo
# real QA test starts here
_supported_fs xfs
_require_scratch
+_require_xfs_io_command "falloc"
rm -f $seqres.full
_scratch_mkfs_xfs | tee -a $seqres.full | _filter_mkfs 2>$tmp.mkfs
_require_test_lsattr
_require_scratch_reflink
_require_cp_reflink
+_require_xfs_io_command "falloc"
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_supported_fs xfs
_supported_os Linux
_require_test
+_require_xfs_io_command "falloc"
testfile=$TEST_DIR/file.$seq
rm -f $seqres.full
_supported_fs xfs
_supported_os Linux
_require_test
+_require_xfs_io_command "falloc"
# io tests
testfile=$TEST_DIR/file.$seq
_supported_os Linux
_require_scratch
+_require_xfs_io_command "falloc"
+
_scratch_mkfs_xfs >/dev/null 2>&1
_scratch_mount
_supported_os Linux
_require_command "$KILLALL_PROG" killall
+_require_xfs_io_command "falloc"
_require_scratch
_scratch_mkfs_xfs >/dev/null 2>&1
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "cowextsize"
+_require_xfs_io_command "falloc"
_require_xfs_io_command "fiemap"
old_cow_lifetime=$(cat /proc/sys/fs/xfs/speculative_cow_prealloc_lifetime)
_require_xfs_io_command "cowextsize"
_require_scratch_reflink
_require_cp_reflink
+_require_xfs_io_command "falloc"
_require_xfs_io_command "fiemap"
old_cow_lifetime=$(cat /proc/sys/fs/xfs/speculative_cow_prealloc_lifetime)
_supported_os Linux
_require_test
+_require_xfs_io_command "falloc"
_require_xfs_io_command "zero"
testfile=$TEST_DIR/242.$$
_supported_os Linux
_require_test
_require_loop
+_require_xfs_io_command "falloc"
LOOP_DEV=$TEST_DIR/$seq.fs
LOOP_MNT=$TEST_DIR/$seq.mnt
_supported_fs xfs
_require_scratch_reflink
_require_xfs_io_command "bmap"
+_require_xfs_io_command "falloc"
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_supported_os Linux
_require_scratch
_require_test_program "punch-alternating"
+_require_xfs_io_command "falloc"
+_require_xfs_io_command "fpunch"
# We want to mkfs with a very specific geometry
MKFS_OPTIONS=""
_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
+_require_xfs_io_command "fpunch"
_require_xfs_io_error_injection "bmap_finish_one"
rm -f $seqres.full
_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
+_require_xfs_io_command "fpunch"
_require_xfs_io_error_injection "refcount_finish_one"
rm -f $seqres.full
_require_cp_reflink
_require_scratch_reflink
_require_error_injection
+_require_xfs_io_command "fpunch"
_require_xfs_io_error_injection "refcount_continue_update"
rm -f $seqres.full
_require_cp_reflink
_require_scratch_reflink
_require_error_injection
+_require_xfs_io_command "fpunch"
_require_xfs_io_error_injection "refcount_continue_update"
rm -f $seqres.full
_require_cp_reflink
_require_scratch_reflink
_require_xfs_io_command "cowextsize"
+_require_xfs_io_command "fpunch"
_require_xfs_io_error_injection "refcount_finish_one"
rm -f $seqres.full
_require_scratch_reflink
_require_cp_reflink
_require_test_program "punch-alternating"
+_require_xfs_io_command "falloc" # used in FSR
_require_command "$XFS_FSR_PROG" "xfs_fsr"
rm -f "$seqres.full"
_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
+_require_xfs_io_command "falloc" # used in FSR
_require_command "$XFS_FSR_PROG" "xfs_fsr"
_require_quota
_require_nobody
_require_check_dmesg
_require_scratch
_require_test_program "punch-alternating"
+_require_xfs_io_command "falloc"
_require_xfs_db_write_array
# This is only a v5 filesystem problem
_supported_fs generic
_supported_os Linux
_require_scratch_size $((2*1024*1024)) # kb
+_require_xfs_io_command "falloc"
# check for filestreams
_check_filestreams_support || _notrun "filestreams not available"