# Import common functions.
# . ./common/filter
-# real QA test starts here
-
# Modify as appropriate.
-_supported_fs generic
_require_test
# if error
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1 || _fail "mkfs failed"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_scratch_dev_pool 4
_require_command "$WIPEFS_PROG" wipefs
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_no_large_scratch_dev
_require_btrfs_command inspect-internal logical-resolve
. ./common/filter
. ./common/defrag
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >/dev/null 2>&1
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch
_require_scratch_dev_pool
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
_require_seek_data_hole
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1
. ./common/filter
-_supported_fs btrfs
_require_test
_require_btrfs_fs_sysfs
. ./common/filter
-_supported_fs btrfs
_require_scratch_nocheck
_require_scratch_dev_pool 5
_require_scratch_dev_pool_equal_size
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch_nocheck
_require_command "$BTRFS_CONVERT_PROG" btrfs-convert
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "falloc"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >/dev/null 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
_require_xfs_io_command "falloc"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_scratch_qgroup
_require_cloner
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
. ./common/filter
-_supported_fs btrfs
_require_test
_require_loop
wait
}
-_supported_fs btrfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_qgroup_rescan
_require_btrfs_qgroup_report
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 4
# Zoned btrfs only supports SINGLE profile
_require_non_zoned_device "${SCRATCH_DEV}"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_no_nodatacow
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "falloc"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "falloc"
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 5
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_qgroup_report
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_test
_require_scratch
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_test
_require_scratch
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "falloc"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_qgroup_report
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/attr
-_supported_fs btrfs
_require_attrs
_require_scratch
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_test
_require_scratch
_require_btrfs_command "property"
. ./common/preamble
_begin_fstest quick balance auto
-_supported_fs btrfs
_require_scratch_swapfile
_require_scratch_dev_pool 3
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
. ./common/attr
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
. ./common/attr
-_supported_fs btrfs
_require_test
_require_scratch
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_cloner
_require_btrfs_fs_feature "no_holes"
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_cloner
_require_btrfs_fs_feature "no_holes"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_qgroup_rescan
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "-T"
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_test
_require_scratch
_require_btrfs_command "property"
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 5
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 5
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 5
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 5
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 5
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
_require_scratch
# SELINUX_MOUNT_OPTIONS will be set in common/config if selinux is enabled
. ./common/filter
. ./common/defrag
-_supported_fs btrfs
_require_test
_require_scratch
_fixed_by_kernel_commit 4bcbb3325513 \
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
workout()
. ./common/filter
-_supported_fs btrfs
_require_scratch
# Since xfs_io's fiemap always use SYNC flag and can't be unset,
# we must use filefrag to call fiemap without SYNC flag.
. ./common/filter
-_supported_fs btrfs
_require_scratch_nocheck
create_snapshot()
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >$seqres.full 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
_require_btrfs_command inspect-internal dump-tree
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
. ./common/fail_make_request
-_supported_fs btrfs
_require_scratch
_require_fail_make_request
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >>$seqres.full 2>&1
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch
_require_scratch_dev_pool
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_scratch
_require_cp_reflink
_require_scratch_qgroup
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
_require_cloner
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
_require_cloner
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_qgroup_report
. ./common/filter.btrfs
. ./common/dmerror
-_supported_fs btrfs
_require_scratch_dev_pool 3
_require_dm_target error
. ./common/filter.btrfs
. ./common/dmerror
-_supported_fs btrfs
_require_scratch_dev_pool 3
_require_btrfs_dev_del_by_devid
_require_dm_target error
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >>$seqres.full 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_qgroup_report
. ./common/filter
-_supported_fs btrfs
_require_scratch
send_files_dir=$TEST_DIR/btrfs-test-$seq
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
. ./common/defrag
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_scratch
_require_cp_reflink
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_scratch
_require_cp_reflink
. ./common/filter
-_supported_fs btrfs
_require_scratch
send_files_dir=$TEST_DIR/btrfs-test-$seq
. ./common/filter
-_supported_fs btrfs
_require_scratch
send_files_dir=$TEST_DIR/btrfs-test-$seq
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch
_require_cloner
_require_btrfs_fs_feature "no_holes"
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch
_require_cloner
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >>$seqres.full 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >>$seqres.full 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
# Writing non-contiguous data directly to the device
_require_non_zoned_device $SCRATCH_DEV
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_scratch
_require_cp_reflink
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >/dev/null
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_qgroup_report
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_qgroup_report
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 2
_test_unmount
_require_btrfs_forget_or_module_loadable
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 3
_test_unmount
_require_btrfs_forget_or_module_loadable
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_qgroup_report
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_scratch
_require_scratch_reflink
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_command inspect-internal dump-super
_require_btrfs_fs_feature free_space_tree
. ./common/filter
-_supported_fs btrfs
_require_scratch
# Use small filesystem to trigger the bug more easily
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch_nocheck
# ext4 does not support zoned block device
_require_non_zoned_device "${SCRATCH_DEV}"
. ./common/filter
. ./common/punch
-_supported_fs btrfs
_require_test
_require_scratch
_require_xfs_io_command "fiemap"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_command property
_require_btrfs_no_nodatacow
. ./common/filter
-_supported_fs btrfs
# We at least need 2GB of free space on $SCRATCH_DEV
_require_scratch_size $((2 * 1024 * 1024))
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 2
# No data checksums for NOCOW case, so can't detect corruption and repair data.
_require_btrfs_no_nodatacow
. ./common/filter
-_supported_fs btrfs
# No data checksums for NOCOW case, so can't detect corruption and repair data.
_require_btrfs_no_nodatacow
_require_scratch_dev_pool 2
. ./common/filter
. ./common/dmdust
-_supported_fs btrfs
_require_scratch_dev_pool 2
_require_dm_target dust
. ./common/filter
. ./common/dmdust
-_supported_fs btrfs
_require_scratch_dev_pool 2
_require_dm_target dust
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
. ./common/dmerror
-_supported_fs btrfs
_require_scratch
_require_scratch_dev_pool
_require_dm_target error
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_scratch_dev_pool 4
_require_odirect
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_test
_require_scratch
_require_scratch_reflink
. ./common/filter
. ./common/fail_make_request
-_supported_fs btrfs
_require_debugfs
_require_scratch
_require_fail_make_request
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_scratch_dev_pool 3
_require_btrfs_dev_del_by_devid
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >>$seqres.full 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_qgroup_report
_require_xfs_io_command "falloc"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_command $PYTHON3_PROG python3
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fstrim
. ./common/filter
-_supported_fs btrfs
# No data checksums for NOCOW case, so can't detect corruption and repair data.
_require_btrfs_no_nodatacow
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
# No data checksums for NOCOW case, so can't detect corruption and repair data.
_require_btrfs_no_nodatacow
_require_scratch_dev_pool 4
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/dmerror
-_supported_fs btrfs
_require_scratch_dev_pool
_require_dm_target error
. ./common/filter
-_supported_fs btrfs
_require_command "$BTRFS_TUNE_PROG" btrfstune
_require_scratch_dev_pool 2
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_command "$BTRFS_TUNE_PROG" btrfstune
_require_scratch_dev_pool 3
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_command "$BTRFS_TUNE_PROG" btrfstune
_require_scratch_dev_pool 3
_require_btrfs_forget_or_module_loadable
_btrfs_rescan_devices
}
-_supported_fs btrfs
_require_btrfs_forget_or_module_loadable
_require_scratch_dev_pool 2
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_fs_feature "rmdir_subvol"
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 2
_require_scratch_dev_pool_equal_size
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_btrfs_command "property"
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_xfs_io_command "fpunch"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "falloc" "-k"
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1
. ./common/filter
. ./common/dmlogwrites
-_supported_fs btrfs
_require_scratch
_require_log_writes
_require_xfs_io_command "sync_range"
. ./common/filter
-_supported_fs btrfs
_require_scratch_swapfile
_scratch_mkfs >> $seqres.full 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch_swapfile
_scratch_mkfs >> $seqres.full 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 2
_require_scratch_swapfile
_check_minimal_fs_size $((1024 * 1024 * 1024))
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 3
_require_scratch_swapfile
. ./common/filter
-_supported_fs btrfs
_require_scratch_swapfile
# Eliminate the differences between the old and new output formats
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
# default sleep interval
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command falloc
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_command inspect-internal dump-super
. ./common/filter
-_supported_fs btrfs
_require_scratch
nr_files=1024
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_scratch_reflink
_require_xfs_io_command "fpunch"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_scratch_dev_pool 2
_require_btrfs_command inspect-internal dump-super
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 2
_scratch_dev_pool_get 2
_fixed_by_kernel_commit a9261d4125c9 \
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_btrfs_command "property"
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_scratch_dedupe
_require_attrs
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_btrfs_fs_feature "no_holes"
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_fssum
_require_test
_require_scratch_reflink
. ./common/filter
. ./common/dmlogwrites
-_supported_fs btrfs
_require_scratch
# and we need extra device as log device
_require_log_writes
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_test
_require_scratch_dedupe
_require_fssum
. ./common/attr
. ./common/dmlogwrites
-_supported_fs btrfs
_require_command "$KILLALL_PROG" killall
_require_command "$BLKDISCARD_PROG" blkdiscard
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command falloc
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 2
_scratch_dev_pool_get 2
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 4
# Zoned btrfs only supports SINGLE profile
_require_non_zoned_device "${SCRATCH_DEV}"
. ./common/dmthin
. ./common/dmlogwrites
-_supported_fs btrfs
# Use thin device as replay device, which requires $SCRATCH_DEV
_require_scratch_nocheck
. ./common/filter.btrfs
-_supported_fs btrfs
_require_test
_require_scratch
_require_scratch_dev_pool 5
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_command "$WIPEFS_PROG" wipefs
_require_scratch
_require_scratch_dev_pool 4
. ./common/filter
-_supported_fs btrfs
_fixed_by_kernel_commit 6b7faadd985c \
"btrfs: Ensure we trim ranges across block group boundary"
. ./common/reflink
. ./common/punch
-_supported_fs btrfs
_require_fssum
_require_test
_require_scratch_reflink
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
_require_attrs
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >> $seqres.full 2>&1
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_test
_require_scratch_reflink
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_scratch_reflink
_require_xfs_io_command "falloc" "-k"
_require_command "$CHATTR_PROG" chattr
. ./common/filter
. ./common/dmlogwrites
-_supported_fs btrfs
_require_test
_require_scratch
_require_log_writes
. ./common/filter
-_supported_fs btrfs
# we check scratch dev after each loop
_require_scratch_nocheck
_require_scratch_dev_pool 4
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch
_require_btrfs_command subvolume delete --subvolid
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
_require_btrfs_fs_feature "no_holes"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >/dev/null
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "falloc" "-k"
# fiemap needed by _count_extents()
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_command "$KILLALL_PROG" killall
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command pwrite -D
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_command "$SETCAP_PROG" setcap
_require_command "$GETCAP_PROG" getcap
$AWK_PROG "(\$1 ~ /stripe/ && \$3 ~ /devid/ && \$2 ~ /0/) { print \$6 }"
}
-_supported_fs btrfs
_require_scratch
# No data checksums for NOCOW case, so can't detect corruption and repair data.
_require_btrfs_no_nodatacow
. ./common/filter
-_supported_fs btrfs
_fixed_by_kernel_commit 4faf55b03823 \
"btrfs: don't traverse into the seed devices in show_devname"
_require_scratch_dev_pool 2
. ./common/filter
-_supported_fs btrfs
_require_scratch_size $((5 * 1024 * 1024)) #kB
_require_fstrim
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_fixed_by_kernel_commit 124604eb50f8 \
"btrfs: init device stats for seed devices"
_require_test
. ./common/filter
-_supported_fs btrfs
loop_mnt1=$TEST_DIR/$seq/mnt1
loop_mnt2=$TEST_DIR/$seq/mnt2
. ./common/filter
-_supported_fs btrfs
_require_scratch
cleanup()
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 3
_require_command "$WIPEFS_PROG" wipefs
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_scratch
_require_btrfs_qgroup_report
. ./common/filter
-_supported_fs btrfs
_fixed_by_kernel_commit b5ddcffa3777 \
"btrfs: fix put of uninitialized kobject after seed device delete"
_require_test
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_scratch_reflink
_require_chattr C
_require_odirect
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_command inspect-internal dump-tree
. ./common/filter
. ./common/reflink
-_supported_fs btrfs
_require_test
_require_scratch_reflink
. ./common/filter
-_supported_fs btrfs
# This test requires specific data space usage, skip if we have compression
# enabled.
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_btrfs_fs_feature "no_holes"
_require_btrfs_mkfs_feature "no-holes"
done
}
-_supported_fs btrfs
# This test requires specific data space usage, skip if we have compression
# enabled.
. ./common/filter.btrfs
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
_require_btrfs_command inspect-internal dump-tree
. ./common/filter
. ./common/attr
-_supported_fs btrfs
_require_scratch
_require_odirect
_require_btrfs_no_nodatacow
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_command "$SETCAP_PROG" setcap
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
. ./common/zoned
-_supported_fs btrfs
_require_scratch
_require_btrfs_command inspect-internal dump-tree
_require_btrfs_command filesystem sync
. ./common/filter
-_supported_fs btrfs
_fixed_by_kernel_commit 5e753a817b2d \
"btrfs: fix unmountable seed device after fstrim"
_require_command "$BTRFS_TUNE_PROG" btrfstune
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
_require_xfs_io_command "falloc"
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_btrfs_forget_or_module_loadable
_require_scratch_dev_pool 2
. ./common/filter
. ./common/dmflakey
-_supported_fs btrfs
_require_scratch
_require_dm_target flakey
# rm -r -f $tmp.*
# }
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >> $seqres.full 2>&1
. ./common/filter
-_supported_fs btrfs
_require_idmapped_mounts
_require_test
_require_scratch
. ./common/filter
-_supported_fs btrfs
_require_scratch
# If it's subpage case, we don't support inline extents creation for now.
. ./common/renameat2
-_supported_fs btrfs
_require_renameat2 exchange
_require_scratch
. ./common/preamble
_begin_fstest auto quick seed volume
-_supported_fs btrfs
_require_test
_require_scratch_dev_pool 2
_require_btrfs_forget_or_module_loadable
. ./common/preamble
_begin_fstest auto quick seed volume
-_supported_fs btrfs
_require_scratch_dev_pool 3
_require_command "$WIPEFS_PROG" wipefs
_require_btrfs_forget_or_module_loadable
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_chattr C
_require_odirect
. ./common/filter
-_supported_fs btrfs
_require_scratch
pagesize=$(_get_page_size)
. ./common/filter
-_supported_fs btrfs
# The size needed is variable as it depends on the specific randomized
# operations from fsstress and on the value of $LOAD_FACTOR. But require
# at least $LOAD_FACTOR * 6G, as we do the receive operations to the same
}
. ./common/filter
-_supported_fs btrfs
_require_test
_require_scratch
# The chunk size on zoned mode is fixed to the zone size
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch_dev_pool 3
_require_block_device $SCRATCH_DEV
_require_dm_target linear
. ./common/preamble
_begin_fstest auto qgroup balance
-_supported_fs btrfs
_require_scratch
_scratch_mkfs >> $seqres.full 2>&1
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
# We rely on specific extent layout, don't run on compress
. ./common/filter
-_supported_fs generic
_require_scratch
_require_xfs_io_command "fiemap"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "fiemap"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "fiemap" "ranged"
_require_xfs_io_command "falloc"
. ./common/preamble
_begin_fstest auto volume raid scrub
-_supported_fs btrfs
_require_scratch_dev_pool 4
_btrfs_get_profile_configs replace-missing
_require_fssum
. ./common/filter
-_supported_fs btrfs
_require_scratch
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "fiemap" "ranged"
. ./common/filter
. ./common/attr
-_supported_fs btrfs
_require_scratch
_require_attrs
_require_chattr C
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 3
# No data checksums for NOCOW case, so can't detect corruption and repair data.
. ./common/filter
-_supported_fs btrfs
# No data checksums for NOCOW case, so can't detect corruption and repair data.
_require_btrfs_no_nodatacow
_require_scratch_dev_pool 3
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 3
# No data checksums for NOCOW case, so can't detect corruption and repair data.
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_odirect
# No data checksums for NOCOW case, so can't detect corruption and repair data.
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_odirect
# No data checksums for NOCOW case, so can't detect corruption and repair data.
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_btrfs_command inspect-internal dump-tree
_require_non_zoned_device "${SCRATCH_DEV}" # no overwrites on zoned devices
. ./common/filter
. ./common/fail_make_request
-_supported_fs btrfs
_require_scratch
_require_fail_make_request
_require_scratch_dev_pool 2
. ./common/preamble
_begin_fstest auto quick send
-_supported_fs btrfs
_fixed_by_kernel_commit 3aa5bd367fa5a3 \
"btrfs: send: fix sending link commands for existing file paths"
_require_test
. ./common/zoned
-_supported_fs btrfs
_fixed_by_kernel_commit 2ce543f47843 \
"btrfs: zoned: wait until zone is finished when allocation didn't progress"
# which is further fixed by
. ./common/filter
-_supported_fs btrfs
_fixed_by_kernel_commit 60021bd754c6ca \
"btrfs: prevent subvol with swapfile from being deleted"
_require_scratch_swapfile
. ./common/filter
. ./common/attr
-_supported_fs btrfs
_fixed_by_kernel_commit b51111271b03 \
"btrfs: check if root is readonly while setting security xattr"
_require_attrs
. ./common/filter.btrfs
. ./common/attr
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "fiemap" "ranged"
_require_attrs
. ./common/filter
. ./common/verity
-_supported_fs btrfs
_require_scratch_verity
_require_fsverity_builtin_signatures
_require_command "$SETCAP_PROG" setcap
. ./common/preamble
_begin_fstest auto quick send
-_supported_fs btrfs
_fixed_by_kernel_commit 9ed0a72e5b355d \
"btrfs: send: fix failures when processing inodes with no links"
_require_test
. ./common/reflink
. ./common/punch # for _filter_fiemap_flags
-_supported_fs btrfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/punch # for _filter_fiemap_flags
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "fiemap"
. ./common/reflink
. ./common/punch # for _filter_fiemap_flags
-_supported_fs btrfs
_require_test
_require_scratch_reflink
_require_btrfs_send_version 2
. ./common/filter
-_supported_fs btrfs
_wants_kernel_commit eb3b50536642 \
"btrfs: scrub: per-device bandwidth control"
. ./common/reflink
. ./common/punch # for _filter_fiemap_flags
-_supported_fs btrfs
_require_test
_require_scratch_reflink
_require_cp_reflink
. ./common/preamble
_begin_fstest auto quick send compress snapshot
-_supported_fs btrfs
_require_btrfs_send_version 2
_require_test
# The size needed is variable as it depends on the specific randomized
cat "/sys/fs/btrfs/$uuid/allocation/data/size_classes"
}
-_supported_fs btrfs
_require_scratch
_require_btrfs_fs_sysfs
_require_fs_sysfs allocation/data/size_classes
. ./common/filter
-_supported_fs btrfs
_require_command "$WIPEFS_PROG" wipefs
_btrfs_get_profile_configs replace-missing
_require_fssum
. ./common/filter.btrfs
. ./common/reflink
-_supported_fs btrfs
_require_btrfs_scratch_logical_resolve_v2
_require_scratch_reflink
_require_xfs_io_command "fpunch"
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 2
_require_odirect
. ./common/filter
-_supported_fs btrfs
_require_scratch
# No data checksums for NOCOW case, so can't detect corruption and repair data.
_require_btrfs_no_nodatacow
rm -f $tmp.*
}
-_supported_fs btrfs
_require_scratch_verity
_require_scratch_nocheck
_require_odirect
. ./common/dmlogwrites
. ./common/verity
-_supported_fs btrfs
_require_scratch
_require_test
. ./common/filter
-_supported_fs btrfs
_require_scratch_dev_pool 6
_require_fstrim
_fixed_by_kernel_commit a7299a18a179 \
. ./common/filter.btrfs
-_supported_fs btrfs
_fixed_by_kernel_commit deccae40e4b3 \
"btrfs: can_nocow_file_extent should pass down args->strict from callers"
_require_scratch_swapfile
. ./common/filter
-_supported_fs btrfs
# No zoned support for RAID56 yet.
_require_non_zoned_device "${SCRATCH_DEV}"
_begin_fstest auto quick dangerous
. ./common/filter
-_supported_fs btrfs
_require_scratch
# Directly writing to the device, which may not work with a zoned device
_require_non_zoned_device "$SCRATCH_DEV"
. ./common/preamble
_begin_fstest auto quick balance
-_supported_fs btrfs
_require_scratch_dev_pool 3
_fixed_by_kernel_commit b7625f461da6 \
"btrfs: sysfs: update fs features directory asynchronously"
. ./common/filter
-_supported_fs btrfs
_require_odirect
_require_non_zoned_device "${SCRATCH_DEV}"
_require_scratch_dev_pool 3
. ./common/preamble
_begin_fstest auto quick seed
-_supported_fs btrfs
_require_command "$BTRFS_TUNE_PROG" btrfstune
_require_command "$WIPEFS_PROG" wipefs
_require_scratch_dev_pool 2
. ./common/preamble
_begin_fstest auto quick preallocrw logical_resolve
-_supported_fs btrfs
_require_scratch
_require_xfs_io_command "falloc" "-k"
_require_btrfs_command inspect-internal logical-resolve
_begin_fstest auto quick subvol snapshot
_register_cleanup "cleanup"
-_supported_fs btrfs
_fixed_by_kernel_commit 94628ad94408 \
"btrfs: copy dir permission and time when creating a stub subvolume"
. ./common/reflink
-_supported_fs btrfs
_require_scratch_reflink
_require_cp_reflink
_require_btrfs_command inspect-internal dump-tree
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_fssum
. ./common/filter
. ./common/punch # for _filter_fiemap
-_supported_fs btrfs
_require_test
_require_scratch
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_btrfs_command inspect-internal dump-tree
_require_btrfs_mkfs_feature "raid-stripe-tree"
_require_scratch_dev_pool 4
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_btrfs_command inspect-internal dump-tree
_require_btrfs_mkfs_feature "raid-stripe-tree"
_require_scratch_dev_pool 4
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_btrfs_command inspect-internal dump-tree
_require_btrfs_mkfs_feature "raid-stripe-tree"
_require_scratch_dev_pool 4
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_btrfs_command inspect-internal dump-tree
_require_btrfs_mkfs_feature "raid-stripe-tree"
_require_scratch_dev_pool 4
. ./common/filter
. ./common/filter.btrfs
-_supported_fs btrfs
_require_btrfs_command inspect-internal dump-tree
_require_btrfs_mkfs_feature "raid-stripe-tree"
_require_scratch_dev_pool 4
. ./common/preamble
_begin_fstest auto quick snapshot subvol
-_supported_fs btrfs
_require_scratch
_require_test_program t_snapshot_deleted_subvolume
_fixed_by_kernel_commit 7081929ab257 \
. ./common/preamble
_begin_fstest auto quick compress
-_supported_fs btrfs
_require_scratch
# This test require inlined compressed extents creation, and all the writes
. ./common/filter.btrfs
. ./common/reflink
-_supported_fs btrfs
_require_cp_reflink
_require_scratch
_require_btrfs_fs_feature temp_fsid
. ./common/filter.btrfs
. ./common/reflink
-_supported_fs btrfs
_require_cp_reflink
_require_scratch_dev_pool 2
_require_btrfs_fs_feature temp_fsid
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch_dev_pool 2
_require_btrfs_fs_feature temp_fsid
. ./common/filter.btrfs
-_supported_fs btrfs
_require_scratch_dev_pool 3
_require_btrfs_fs_feature temp_fsid
. ./common/preamble
_begin_fstest auto quick qgroup
-_supported_fs btrfs
_require_scratch
_require_qgroup_rescan
. common/filter.btrfs
-_supported_fs btrfs
_require_scratch_dev_pool 4
_require_zoned_device "$SCRATCH_DEV"
_fixed_by_kernel_commit 9f7eb8405dcb \
"btrfs: validate device maj:min during open"
-# real QA test starts here
-_supported_fs btrfs
_require_test
_require_command "$PARTED_PROG" parted
_require_batched_discard "$TEST_DIR"
. ./common/filter
-_supported_fs btrfs
_require_scratch
_require_qgroup_rescan
_require_btrfs_qgroup_report
# Import common functions.
. ./common/filter.btrfs
-# real QA test starts here
-_supported_fs btrfs
_require_scratch
$MOUNT_PROG -V | grep -q 'fd-based-mount'
. common/attr
. common/reflink
-# real QA test starts here
-_supported_fs ceph
_require_debugfs
_require_xfs_io_command "copy_range"
_exclude_test_mount_option "test_dummy_encryption"
. common/filter
. common/attr
-# real QA test starts here
-_supported_fs ceph
_require_xfs_io_command "copy_range"
_exclude_test_mount_option "test_dummy_encryption"
. common/attr
. common/reflink
-# real QA test starts here
-_supported_fs ceph
_require_xfs_io_command "copy_range"
_exclude_test_mount_option "test_dummy_encryption"
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs ceph
_require_attrs
_require_test
_require_test_program "rename"
. ./common/preamble
_begin_fstest auto quick quota
-_supported_fs ceph
_require_scratch
_exclude_test_mount_option "test_dummy_encryption"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs cifs
_require_cloner
_require_test
. ./common/filter
. ./common/punch
-# real QA test starts here
_supported_fs ext4
_require_xfs_io_command "falloc"
_require_xfs_io_command "fzero"
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4 ext3
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
rm -rf restoresymtable
}
-# real QA test starts here
_supported_fs ext4
_require_test
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_command "$CHATTR_PROG" chattr
_notrun "Couldn't find e2fuzz"
fi
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/filter
. ./common/defrag
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_defrag
# Import common functions.
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_dumpe2fs
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_dumpe2fs
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
_supported_fs ext4
_require_scratch
# get standard environment and checks
. ./common/encrypt
-# real QA test starts here
_supported_fs ext4
_require_scratch_encryption
_require_command "$KEYCTL_PROG" keyctl
# get standard environment and checks
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch_nocheck
_require_command "$DEBUGFS_PROG" debugfs
. ./common/filter
. ./common/attr
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_attrs
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_xfs_io_command "fsmap"
. ./common/filter
. ./common/populate
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_populate_commands
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_logdev
_require_scratch
_require_test_program "t_ext4_dax_journal_corruption"
_require_command "$CHATTR_PROG" chattr
-# real QA test starts here
_scratch_mkfs > $seqres.full 2>&1
# In order to get our failure condition consistently we need to turn off
_require_test_program "t_ext4_dax_inline_corruption"
_require_scratch_ext4_feature "inline_data"
-# real QA test starts here
_scratch_mkfs_ext4 -O inline_data > $seqres.full 2>&1
TESTFILE=$SCRATCH_MNT/testfile
# get standard environment and checks
-# real QA test starts here
_supported_fs ext4
_require_loop
. ./common/filter
. ./common/dmhugedisk
-# real QA test starts here
_supported_fs ext4
_require_scratch_nocheck
_require_dmhugedisk
. ./common/filter
. ./common/quota
-# real QA test starts here
# Modify as appropriate.
_supported_fs ext4
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
_exclude_scratch_mount_option dax
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext3 ext4
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext3 ext4
# nofsck as we modify sb via debugfs
# Import common functions.
-# real QA test starts here
_supported_fs ext3 ext4
_require_scratch
_require_command "$DEBUGFS_PROG" debugfs
done
}
-# real QA test starts here
_supported_fs ext3 ext4
_require_scratch
_exclude_scratch_mount_option dax
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext2 ext3 ext4
_require_scratch_nocheck
_disable_dmesg_check
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext2 ext3 ext4
_require_scratch_nocheck
_disable_dmesg_check
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
_supported_fs ext2 ext3 ext4
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext3 ext4
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_test_program "t_get_file_time"
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch_dax_mountopt "dax=always"
_require_dax_iflag
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
. ./common/preamble
_begin_fstest auto rw quick
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_scratch_shutdown
# Import common functions.
# . ./common/filter
-# real QA test starts here
# Modify as appropriate.
_supported_fs ext4
# Import common functions
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch_nocheck
_require_xfs_io_command "falloc"
. ./common/preamble
_begin_fstest auto quota
-# real QA test starts here
_require_scratch_nocheck
_supported_fs ext4
_require_user fsgqa
. ./common/preamble
_begin_fstest auto ioctl resize quick
-# real QA test starts here
INITIAL_FS_SIZE=1G
RESIZED_FS_SIZE=$((2*1024*1024*1024)) # 2G
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_test_program uuid_ioctl
. ./common/preamble
_begin_fstest auto quick
-# real QA test starts here
_supported_fs ext4
_fixed_by_kernel_commit a08f789d2ab5 \
. ./common/preamble
_begin_fstest auto resize quick
-# real QA test starts here
_supported_fs ext4
_fixed_by_kernel_commit b55c3cd102a6 \
"ext4: add reserved GDT blocks check"
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
# this test needs no journal to be loaded, skip on journal related mount
. ./common/filter
. ./common/defrag
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_defrag
. ./common/filter
. ./common/defrag
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_defrag
. ./common/filter
. ./common/defrag
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_defrag
. ./common/filter
. ./common/defrag
-# real QA test starts here
_supported_fs ext4
_require_scratch
_require_defrag
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ext4
_require_scratch
run_check md5sum -c $out.md5sum
}
-# real QA test starts here
-_supported_fs generic
_supported_fs ext4
_require_scratch
_require_defrag
. ./common/filter
. ./common/defrag
-# real QA test starts here
_require_scratch
_require_defrag
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-_supported_fs f2fs
_require_scratch
_require_xfs_io_command "falloc"
. ./common/f2fs
. ./common/encrypt
-_supported_fs f2fs
-
# Prerequisites to create a file that is both encrypted and LZ4-compressed
_require_scratch_encryption -v 2
_require_scratch_f2fs_compression lz4
done_cleanup=false
_register_cleanup "_cleanup; rm -f $tmp.*"
-# real QA test starts here
-_supported_fs generic
_require_test
verbose=true
status=0 # success is the default!
-# real QA test starts here
-_supported_fs generic
_require_test
_require_hardlinks
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_atime
_require_relatime
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "-T"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_symlinks
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
mkdir $TEST_DIR/permname.$$
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
sourcefile=$tmp.nametest
. ./common/filter
. ./common/punch
-# real QA test starts here
# Modify as appropriate.
. ./common/filter
. ./common/punch
-# real QA test starts here
_require_xfs_io_command "fzero"
_require_xfs_io_command "fiemap"
_require_xfs_io_command "falloc"
_require_test_program "dbtest"
-# real QA test starts here
-_supported_fs generic
_require_test
cd $TEST_DIR
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
out=$TEST_DIR/dirstress.$$
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "fpunch"
_check_test_fs
}
-# real QA test starts here
-_supported_fs generic
_require_test
echo "brevity is wit..."
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
_require_sparse_files
_df_dir $SCRATCH_MNT | $AWK_PROG '{ print $5 }'
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_no_large_scratch_dev
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "fpunch"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/defrag
-# real QA test starts here
-_supported_fs generic
# We require scratch so that we'll have free contiguous space
_require_scratch
# Import common functions.
. ./common/filter
. ./common/fail_make_request
-_supported_fs generic
_require_scratch
_require_block_device $SCRATCH_DEV
_require_fail_make_request
run_check _scratch_unmount
}
-# real QA test starts here
_scratch_mkfs >> $seqres.full 2>&1 || _fail "mkfs failed"
_scratch_mount
esac
}
-# real QA test starts here
-_supported_fs generic
_require_test
_require_attrs
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "fpunch"
# Import common functions.
. ./common/renameat2
-_supported_fs generic
_require_test
_require_renameat2
_require_symlinks
-# real QA test starts here
rename_dir=$TEST_DIR/$$
mkdir -p $rename_dir
# Import common functions.
. ./common/renameat2
-_supported_fs generic
_require_test
_require_renameat2 noreplace
_require_symlinks
-# real QA test starts here
rename_dir=$TEST_DIR/$$
mkdir $rename_dir
# Import common functions.
. ./common/renameat2
-_supported_fs generic
_require_test
_require_renameat2 exchange
_require_symlinks
-# real QA test starts here
rename_dir=$TEST_DIR/$$
mkdir $rename_dir
[ -n "$TEST_DIR" ] && rm -rf $TEST_DIR/$seq.dir1
}
-# real QA test starts here
-_supported_fs generic
_require_test
_acl_setup_ids
_require_acls
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
echo "Silence is golden"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
testfile=$SCRATCH_MNT/testfile
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_xfs_io_command "mremap"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_xfs_io_command "fcollapse"
# Import common functions.
. ./common/punch
-# real QA test starts here
_syncloop()
{
}
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_xfs_io_command "falloc"
_require_xfs_io_command "fiemap"
# Import common functions.
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_xfs_io_command "fzero"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
# Import common functions.
-_supported_fs generic
_require_test
# Select appropriate golden output based on fstype
_link_out_file
-# real QA test starts here
rename_dir=$TEST_DIR/$$
mkdir -p $rename_dir
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_run_aiodio aio-dio-fcntl-race
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_attrs
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
. ./common/punch
-# real QA test starts here
_crashtest()
{
}
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch_nocheck
_require_scratch_shutdown
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
. ./common/filter
. ./common/log
-# real QA test starts here
-_supported_fs generic
rm -f $tmp.log
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_acls
. ./common/filter
. ./common/log
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
esac
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "fpunch"
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "fpunch"
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "fpunch"
_require_xfs_io_command "falloc"
find $SCRATCH_MNT | LC_COLLATE=POSIX sort | _filter_scratch | grep -v "lost+found"
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_attrs
rm -f $tmp.backup1 $tmp.backup2 $seqres.full
-# real QA test starts here
_scratch_mkfs > /dev/null 2>&1 || _fail "mkfs failed"
_scratch_mount
_create_test_bed
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "fpunch"
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/dmflakey
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
_require_attrs
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_symlinks
_require_test
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_freeze
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_test
_require_attrs
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "falloc" "-k"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "fcollapse"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
_do_test()
done
}
-# real QA test starts here
-_supported_fs generic
_require_test
size10=`expr 10 \* 1024 \* 1024` # 10 megabytes
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_local_device $SCRATCH_DEV
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
[ ! -d $filler ] && _notrun "No directory at least 256MB to source files from"
# Import common functions.
. ./common/renameat2
-_supported_fs generic
_require_test
_require_renameat2 whiteout
_require_symlinks
-# real QA test starts here
rename_dir=$TEST_DIR/$$
mkdir $rename_dir
. ./common/filter
. ./common/attr
-_supported_fs generic
_require_chattr ia
_require_user_exists "nobody"
_require_test_program "t_immutable"
_require_scratch
-# real QA test starts here
_scratch_mkfs >/dev/null 2>&1 || _fail "mkfs failed"
_scratch_mount
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
echo "Silence is golden."
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch_nolvm
_require_dm_target snapshot
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_quota
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_no_large_scratch_dev
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
link_unlink_storm()
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_block_device $SCRATCH_DEV
_require_dm_target linear
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_chown
_filter_test_dir | sed -e '/----------/d'
}
-# real QA test starts here
-_supported_fs generic
_require_test
_require_chown
done
}
-# real QA test starts here
-_supported_fs generic
_require_test
_require_hardlinks
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_odirect
. ./common/filter
. ./common/punch
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_xfs_io_command "falloc"
_require_xfs_io_command "fiemap"
sed -e "s#$file#file#"
}
-# real QA test starts here
-_supported_fs generic
_require_test
_require_attrs security
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_odirect
_require_xfs_io_command "fiemap"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_odirect
_require_aio
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "fzero"
. ./common/attr
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_attrs user trusted
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
# This test was motivated by an issue found in btrfs when the btrfs no-holes
# -> interesting if it allows user to specify ACEs in any order
#
-# real QA test starts here
-_supported_fs generic
_require_test
_require_runas
rm -f $tmp.* $TEMP_DIR/$TAR_FILE
}
-# real QA test starts here
-_supported_fs generic
_require_test
# Use _populate_fs() in common/rc to create a directory structure.
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
dev_size=$((1024 * 1024 * 1024)) # 1GB filesystem
# Import common functions.
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_attrs
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/attr
# Modify as appropriate.
-_supported_fs generic
-# real QA test starts here
_require_scratch
_require_acls
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
. ./common/scsi_debug
-# real QA test starts here
-_supported_fs generic
_require_scratch_nolvm
_require_block_device $SCRATCH_DEV
_require_scsi_debug
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_symlinks
. common/filter
. common/reflink
-# real QA test starts here
_require_test_reflink
_require_xfs_io_command "fiemap"
. common/filter
. common/reflink
-# real QA test starts here
_require_test_reflink
_require_xfs_io_command "fiemap"
done
}
-# real QA test starts here
-_supported_fs generic
_require_test
_require_aio
rm -f $_files
}
-# real QA test starts here
-_supported_fs generic
_require_test
_require_aio
_require_odirect
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
_require_sparse_files
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
testdir=$TEST_DIR/test-$seq
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_attrs
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
testdir=$TEST_DIR/test-$seq
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_arbitrary_fileset_reflink
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_atime
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_dedupe
testdir=$TEST_DIR/test-$seq
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_dedupe
testdir=$TEST_DIR/test-$seq
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_user
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_user
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_chown
return 0
}
-# real QA test starts here
-_supported_fs generic
_require_test
_fsx_lite_nommap || exit
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_user
$1
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_sparse_files
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_sparse_files
. ./common/filter
. ./common/locktest
-# real QA test starts here
-_supported_fs generic
_require_test
_require_test_fcntl_advisory_locks
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
testdir=$TEST_DIR/test-$seq
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_odirect
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_dedupe
testdir=$TEST_DIR/test-$seq
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_test_dedupe
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_odirect 512
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_scratch_mkfs >/dev/null 2>&1
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "finsert"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "truncate"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "fzero"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "fcollapse"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "fzero"
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "funshare"
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_scratch_reflink
_require_mknod
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_test_dedupe
_require_scratch_dedupe
_require_mknod
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_chattr i
_require_test_reflink
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_chattr i
_require_test_dedupe
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_dedupe
echo "Format and mount"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_dedupe
echo "Format and mount"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
echo "Format and mount"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_odirect
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_odirect
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fpunch"
. ./common/punch
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "fpunch"
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "fzero"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_dedupe
testdir=$TEST_DIR/test-$seq
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_odirect
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_mknod
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
echo "Format and mount"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
# btrfs can't fragment free space. This test is unreliable on NFS, as it
# depends on the exported filesystem.
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_atime
delay=5
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_user
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_aiodio aiodio_sparse2
_require_test
echo "Silence is golden."
-# real QA test starts here
rm -f "$TEST_DIR/aiodio_sparse*"
$AIO_TEST "$TEST_DIR/aiodio_sparse"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_odirect
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
pagesz=$(getconf PAGE_SIZE)
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_odirect
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_run_aiodio aio-dio-extend-stat
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_run_aiodio aio-dio-invalidate-failure
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_run_aiodio aio-dio-invalidate-readahead
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_run_aiodio aio-dio-subblock-eof-read
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_run_aiodio aio-free-ring-with-bogus-nr-pages
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_run_aiodio aio-io-setup-with-nonwritable-context-pointer
# Import common functions.
. ./common/filter
-# real QA test starts here
# generic, but xfs_io's fallocate must work
-_supported_fs generic
# only Linux supports fallocate
[ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found"
# Import common functions.
. ./common/filter
-# real QA test starts here
# generic, but xfs_io's fallocate must work
-_supported_fs generic
# only Linux supports fallocate
_require_test
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
testfile=$TEST_DIR/tst.mmap
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_user
repquota -$type $SCRATCH_MNT | grep "^$id" | check_usage 144 3
}
-# real QA test starts here
_scratch_unmount 2>/dev/null
_scratch_mkfs >> $seqres.full 2>&1
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_odirect
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_test
echo "Silence is golden."
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_odirect
_require_xfs_io_command "fiemap"
# Import common functions.
-_supported_fs generic
_require_scratch
_require_odirect
-# real QA test starts here
_scratch_unmount 2>/dev/null
echo "--> mkfs 256m filesystem"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_odirect
# Import common functions.
-# real QA test starts here
# generic, but xfs_io's fallocate must work
-_supported_fs generic
# only Linux supports fallocate
_require_test
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_user
rm -f $SCRATCH_MNT/file{1,2,3,4,5,6}
}
-# real QA test starts here
grace=2
return 0
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_user
fi
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
fi
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_user
echo "### done with testing"
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
-# real QA test starts here
_scratch_mkfs >> $seqres.full 2>&1
_scratch_mount "-o usrquota,grpquota"
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_user
repquota -u -g $SCRATCH_MNT | grep -v -E '^root|^$' | _filter_scratch
}
-# real QA test starts here
_scratch_mkfs >> $seqres.full 2>&1
_scratch_mount "-o usrquota,grpquota"
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_hardlinks
_require_test
[ -n "$TEST_DIR" ] && rm -rf $TEST_DIR/$seq.dir1
}
-# real QA test starts here
-_supported_fs generic
# only Linux supports fallocate
_require_test
_require_runas
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_odirect
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
_require_sparse_files
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
_require_sparse_files
echo "Silence is golden."
-# real QA test starts here
rm -f $TEST_DIR/aiodio_sparse
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
[ "$DBENCH_PROG" = "" ] && _notrun "dbench not found"
echo "Silence is golden."
-# real QA test starts here
rm -rf $TEST_DIR/dbench
mkdir $TEST_DIR/dbench
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_odirect
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_quota
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
dir=$TEST_DIR/test-mv
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
file=$TEST_DIR/mmap-writev
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
# this test leaves a 512MB file around if we abort the test during the run via a
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
TESTFILE=$TEST_DIR/test_file
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
echo "Feel the serenity."
. ./common/filter
. ./common/dmerror
-# real QA test starts here
_require_scratch
_require_dm_target error
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_scratch_mkfs >/dev/null 2>&1
_scratch_mount
. ./common/filter
. ./common/dmerror
-# real QA test starts here
_require_scratch
_require_dm_target error
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "truncate"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
-
_require_test
_require_xfs_io_command "fpunch"
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "fpunch"
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
mkdir $TEST_DIR/ttt
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_test
_require_negative_timestamps
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fzero"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_math
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fcollapse"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "finsert"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "funshare"
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
wait $pid
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1
$KILLALL_PROG -w $tmp.fsstress.bin
}
-# real QA test starts here
-_supported_fs generic
_require_quota
_require_user
_require_scratch
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
wait $_pids
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
echo "------------------------------"
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "falloc" "-k"
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
# This test requires specific data space usage, skip if we have compression
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_chattr A
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
_require_quota
_require_freeze
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_scratch_unmount 2>/dev/null
_scratch_mkfs >> $seqres.full 2>&1
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
_require_seek_data_hole
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_odirect
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
# NFS will optimize away the on-the-wire lookup before attempting to
# create a new file (since that means an extra round trip).
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_command "$TIMEOUT_PROG" "timeout"
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_command "$TIMEOUT_PROG" "timeout"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_odirect
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_odirect
_require_aio
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_test_reflink
_require_cp_reflink
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_test_dedupe
_require_cp_reflink
. ./common/reflink
. ./common/quota
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_test
_require_symlinks
testfile=$SCRATCH_MNT/testfile.$seq
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_acls
testfile=$TEST_DIR/testfile.$seq
-# real QA test starts here
-_supported_fs generic
_require_test
echo "Silence is golden"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
echo "Silence is golden"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_command "$KILLALL_PROG" killall
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch_nocheck
_require_odirect
_require_dm_target flakey
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "falloc"
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
testfile=$TEST_DIR/testfile.$seq
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_user
_require_chown
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_xfs_io_command "falloc" "-k"
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "fpunch"
file=$SCRATCH_MNT/file1
-# real QA test starts here
-_supported_fs generic
# only Linux supports user namespace
[ -x $lstat64 ] || _notrun "$lstat64 executable not found"
nsexec=$here/src/nsexec
file=$SCRATCH_MNT/file1
-# real QA test starts here
-_supported_fs generic
# only Linux supports user namespace
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_acls
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
threads=100
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch_nocheck
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch_nocheck
_require_dm_target flakey
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_aiodio aio-last-ref-held-by-io
. ./common/filter
. ./common/defrag
-# real QA test starts here
_require_scratch
_require_defrag
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
. ./common/reflink
. ./common/quota
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/reflink
. ./common/quota
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/reflink
. ./common/quota
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_aiodio "aiocp"
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_aiodio "aiocp"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_attrs
. ./common/filter
. ./common/dmerror
-# real QA test starts here
-_supported_fs generic
_require_scratch_nocheck # fs went down with a dirty log, don't check it
_require_dm_target error
# If SCRATCH_DEV is not a valid block device, FSTYP cannot be mkfs'ed either
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_test_program "dirhash_collide"
# get standard environment and checks
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_test_program "holetest"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
# get standard environment and checks
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_test_program "holetest"
# get standard environment and checks
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_test_program "holetest"
# get standard environment and checks
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_test_program "holetest"
# Import common functions.
. ./common/dmthin
-_supported_fs generic
_require_scratch_nocheck
_require_dm_target thin-pool
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_symlinks
_require_dm_target flakey
. ./common/filter
. ./common/scsi_debug
-# real QA test starts here
_require_scsi_debug
_require_xfs_io_command "fzero"
. ./common/filter
. ./common/scsi_debug
-# real QA test starts here
_require_scsi_debug
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/scsi_debug
-# real QA test starts here
_require_scsi_debug
_require_xfs_io_command "falloc"
_require_xfs_io_command "finsert"
. ./common/reflink
. ./common/punch
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch_reflink
_require_xfs_io_command "fiemap"
. ./common/reflink
. ./common/punch
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch_reflink
_require_xfs_io_command "fiemap"
# get standard environment and checks
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_test_program "holetest"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_user
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_swapfile
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
# For NFS, a reflink is just a CLONE operation, and after that
# point it's dealt with by the server.
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
echo "Format and mount"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
echo "Format and mount"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_symlinks
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_block_device $SCRATCH_DEV
_require_loop
. ./common/filter
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_xfs_io_command "falloc"
test "$FSTYP" = "xfs" && _require_xfs_io_command "extsize"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_dedupe
echo "Format and mount"
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_test
_require_runas
_require_acls
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_attrs
_require_test_program "listxattr"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_user
_require_hardlinks
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs generic
cp /dev/null $seqres.full
chmod ugo+rwx $seqres.full
. ./common/filter
. ./common/quota
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_quota
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_xfs_quota_foreign
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_xfs_quota_foreign
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_xfs_quota_foreign
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs generic
_require_test
_require_quota
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
echo "Silence is golden."
-# real QA test starts here
proj_dir="$SCRATCH_MNT/test"
# Modify as appropriate.
-_supported_fs generic
_require_quota
_require_xfs_quota_foreign
. ./common/reflink
# Modify as appropriate.
-_supported_fs generic
_require_scratch_reflink
#btrfs needs 256mb to create default blockgroup fs
# Import common functions.
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_local_device $SCRATCH_DEV
. ./common/attr
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "-T"
# Import common functions.
. ./common/filter
-# real QA test starts here
echo "Silence is golden"
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_freeze
_require_test_program "feature"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "falloc"
_require_test_program "dio-interleaved"
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_scratch
testfile=$SCRATCH_MNT/testfile
$XFS_IO_PROG -fc "truncate $1" $2
}
-# real QA test starts here
-_supported_fs generic
_require_test
# set max file size to 1G (in block number of 1k blocks), so it should be big
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption
_require_xfs_io_command "get_encpolicy"
_require_user
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption
_scratch_mkfs_encrypted &>> $seqres.full
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_symlinks
_require_scratch_encryption
_require_command "$KEYCTL_PROG" keyctl
. ./common/encrypt
. ./common/renameat2
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption
_require_renameat2 exchange
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption
_require_symlinks
_require_command "$XZ_PROG" xz
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_quota
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_symlinks
_require_mknod
. ./common/attr
# Prerequisites for the test run.
-_supported_fs generic
_require_scratch
_require_check_dmesg
_require_xfs_io_command utimes
# Import common functions.
. ./common/attr
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_attrs trusted
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_xfs_io_command "falloc"
_require_xfs_io_command "finsert"
. ./common/filter
. ./common/dmthin
-# real QA test starts here
-_supported_fs generic
# $SCRATCH_DEV won't be directly created filesystem on, so fsck isn't required
_require_scratch_nocheck
_require_dm_target thin-pool
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_odirect
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_test
_require_test_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_test
_require_test_dedupe
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_local_device $SCRATCH_DEV
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_local_device $SCRATCH_DEV
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_local_device $SCRATCH_DEV
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_odirect
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_hugepages
_require_test
_require_scratch_dax_mountopt "dax"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "fiemap"
# Import common functions.
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fpunch"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
fs_size=$((128 * 1024 * 1024))
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
_require_metadata_journaling $SCRATCH_DEV
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_odirect
_require_block_device $TEST_DEV
. ./common/encrypt
. ./common/renameat2
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption
_require_command "$KEYCTL_PROG" keyctl
_require_renameat2 exchange
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_xfs_io_command fpunch
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption
_require_command "$KEYCTL_PROG" keyctl
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_xfs_io_command "falloc" "-k"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_test_program "stat_test"
_require_test_program "af_unix"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_test_program stat_test
_require_statx
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
[ $FSTYP = bcachefs ] && _notrun "bcachefs does not store xattrs in blocks"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
# _require_exportfs already requires open_by_handle, but let's not count on it
_require_test_program "open_by_handle"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_test_program "feature"
_require_aiodio aio-dio-eof-race
. ./common/filter
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_test_program "t_mmap_stale_pmd"
-# real QA test starts here
$here/src/t_mmap_stale_pmd $TEST_DIR/testfile
# success, all done
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption
_require_command "$KEYCTL_PROG" keyctl
_require_test_program "t_encrypted_d_revalidate"
# get standard environment
. common/filter
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "copy_range"
_require_test
# get standard environment
. common/filter
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "copy_range"
_require_test
# get standard environment
. common/filter
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "copy_range"
_require_test
# get standard environment
. common/filter
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "copy_range"
_require_test
# get standard environment
. common/filter
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "copy_range"
_require_test
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption
_require_command "$KEYCTL_PROG" keyctl
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
_require_seek_data_hole
. ./common/filter
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_test_program "t_mmap_cow_race"
-# real QA test starts here
$here/src/t_mmap_cow_race $TEST_DIR/testfile
# success, all done
. ./common/filter
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_test_program "t_mmap_fallocate"
-# real QA test starts here
FILE=$TEST_DIR/testfile_fallocate
# Make sure file exists
echo >$FILE
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption
_require_symlinks
_require_command "$KEYCTL_PROG" keyctl
. ./common/filter
. ./common/dmerror
-# real QA test starts here
_require_scratch
# Generally, we want to avoid journal errors on the extended testcase. Only
. ./common/filter
. ./common/dmerror
-# real QA test starts here
_require_scratch
_require_dm_target error
_require_test_program fsync-err
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_test_program "writev_on_pagefault"
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_test
_require_runas
_require_acls
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
_require_seek_data_hole
# get standard environment and checks
. ./common/filter
-# real QA test starts here
_require_scratch
_require_xfs_io_command "truncate"
_require_xfs_io_command "fpunch"
. ./common/attr
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
_require_test_program "punch-alternating"
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
_require_seek_data_hole
. ./common/filter
. ./common/attr
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_test
_require_acls
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_test
_require_odirect
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_test
_require_test_program "feature"
_require_aiodio aio-dio-cycle-write
. ./common/filter
# Modify as appropriate.
-_supported_fs generic
_require_scratch
# we need to be able to execute binaries on scratch
_exclude_scratch_mount_option "noexec"
-# real QA test starts here
# format and mount
_scratch_mkfs > $seqres.full 2>&1
_scratch_mount >> $seqres.full 2>&1
. ./common/dmthin
. ./common/dmlogwrites
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch_nocheck
_require_no_logdev
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "falloc"
_require_dm_target flakey
. ./common/dmthin
. ./common/dmlogwrites
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch_reflink
_require_no_logdev
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fzero"
# Import common functions.
-# real QA test starts here
# This tests for filesystem lockup not consistency, so don't check for fs
# consistency after test
-_supported_fs generic
_require_scratch_nolvm
_require_dm_target thin-pool
_require_dm_target snapshot
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
# test with scratch device, because test is known to corrupt fs, we don't want
# the corruption affect subsequent tests
_require_scratch
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs generic
_require_scratch_nocheck
_require_scratch_shutdown
. ./common/filter
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_scratch_dax_mountopt "dax"
_require_test_program "t_mmap_write_ro"
# this bug, just trying to test more.
_require_user
-# real QA test starts here
_scratch_mkfs >>$seqres.full 2>&1
_scratch_mount "-o dax"
. ./common/filter
. ./common/reflink
-_supported_fs generic
_require_test
_require_test_reflink
$XFS_IO_PROG -c "sync_range -w 0 0" `getfile` >/dev/null 2>&1
}
-# real QA test starts here
-_supported_fs generic
# do fsck after each iteration in test
_require_scratch_nocheck
_require_xfs_io_command "sync_range"
# Import common functions.
. ./common/filter
-# real QA test starts here
_supported_fs ^nfs
_require_aiodio aio-dio-append-write-read-race
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch_nocheck
_require_block_device $SCRATCH_DEV
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
# _require_exportfs already requires open_by_handle, but let's not count on it
_require_test_program "open_by_handle"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "falloc" "-k"
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/dmlogwrites
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_no_logdev
_require_log_writes_dax_mountopt "dax"
rm -fr $target_dir
}
-_supported_fs generic
_require_test
_require_test_program rewinddir-test
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch_swapfile
_require_test_program mkswap
_require_test_program swapon
# Import common functions.
. ./common/punch
-# real QA test starts here
# Modify as appropriate.
_require_test
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_fssum
_require_scratch
_require_scratch_shutdown
. ./common/dmerror
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_dm_target error
# Import common functions.
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_command "$KILLALL_PROG" "killall"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
# _require_exportfs already requires open_by_handle, but let's not count on it
_require_test_program "open_by_handle"
. ./common/filter
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_ofd_locks
-# real QA test starts here
# prepare a 4k testfile in TEST_DIR
$XFS_IO_PROG -f -c "pwrite -S 0xFF 0 4096" \
$TEST_DIR/testfile >> $seqres.full 2>&1
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_symlinks
_require_mknod
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
. ./common/dmthin
. ./common/dmlogwrites
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_no_logdev
_require_command "$KILLALL_PROG" killall
. ./common/dmflakey
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
_require_xfs_io_command "falloc" "-k"
. ./common/filter
. ./common/dmerror
-# real QA test starts here
_require_scratch_nocheck
_require_dm_target error
_require_xfs_io_command "syncfs"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_math
_require_xfs_io_command "falloc" "-k"
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_test_program "attr_replace_test"
_require_attrs
_require_scratch
. ./common/filter
. ./common/dmerror
-# real QA test starts here
_require_scratch_nocheck
sflag='-s'
. ./common/filter
-_supported_fs generic
_require_scratch
_require_test_program "multi_open_unlink"
. ./common/dmflakey
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
_require_attrs
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_test
_require_seek_data_hole
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_freeze
_require_command "$TIMEOUT_PROG" "timeout"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "label"
_require_label_get_max
. ./common/filter
. ./common/reflink
-_supported_fs generic
_require_scratch_swapfile
_require_scratch_dedupe
. ./common/filter
-_supported_fs generic
_require_scratch_swapfile
_require_xfs_io_command "fpunch"
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_scratch_swapfile
_require_test_program mkswap
_require_test_program swapon
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch_swapfile
_require_test_program mkswap
_require_test_program swapon
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch_swapfile
_require_test_program mkswap
_require_test_program swapon
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
# Import common functions.
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "falloc" "-k"
_require_xfs_io_command "fcollapse"
. ./common/filter
. ./common/dmthin
-# real QA test starts here
_require_scratch_nocheck
_require_dm_target thin-pool
. ./common/reflink
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_scratch
_require_test_program "t_mmap_collision"
test $blksize -eq $(getconf PAGE_SIZE) || \
_notrun "file block size must match page size"
-# real QA test starts here
$here/src/t_mmap_collision $TEST_DIR/testfile $SCRATCH_MNT/testfile
# success, all done
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_command "$FLOCK_PROG" "flock"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_command "$LSATTR_PROG" lasttr
_require_command "$CHATTR_PROG" chattr
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test_lsattr
_require_statx
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "-T"
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
# Import common functions.
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "falloc" "-k"
_require_xfs_io_command "fzero"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "falloc"
_require_dm_target flakey
. ./common/reflink
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_command "$GETCAP_PROG" getcap
_require_command "$SETCAP_PROG" setcap
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_user
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_dedupe
testdir=$TEST_DIR/test-$seq
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_dedupe
_scratch_mkfs >>$seqres.full 2>&1
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_scratch_mkfs >>$seqres.full 2>&1
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_fibmap
_require_filefrag_options "es"
# 256MB in byte
fssize=$((2**20 * 256))
-# real QA test starts here
-_supported_fs generic
_require_scratch_nocheck
_require_dm_target flakey
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_odirect
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
# Run fsx for a million ops or more
. ./common/attr
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_attrs
# Import common functions.
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_test_program "feature"
_require_xfs_io_command "sync_range"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_scratch_mkfs >>$seqres.full 2>&1
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_hardlinks
_require_dm_target flakey
. ./common/attr
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "statx" "-r"
_require_btime
# Import common functions.
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_acls
_require_scratch
_require_test_program "t_attr_corruption"
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
_require_metadata_journaling
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "-T"
_require_test_program "t_open_tmpfiles"
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_test
get_attributes() {
. ./common/attr
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_attrs
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
# Import common functions.
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_fstrim
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_aiodio aio-dio-write-verify
# Import common functions.
-_supported_fs generic
_require_test
_require_seek_data_hole
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_test
_require_chattr i
. ./common/reflink
. ./common/dmflakey
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_xfs_io_command "falloc"
_require_scratch_reflink
_require_dm_target flakey
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_fssum
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_verify_ciphertext_for_encryption_policy AES-256-XTS AES-256-CTS-CBC
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_verify_ciphertext_for_encryption_policy AES-128-CBC-ESSIV AES-128-CTS-CBC
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
# Test both with and without the DIRECT_KEY flag.
_verify_ciphertext_for_encryption_policy Adiantum Adiantum
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_aiodio aio-dio-write-verify
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_odirect
_require_dm_target flakey
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "copy_range"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "copy_range"
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_test
_require_xfs_io_command "chattr" "ia"
. ./common/casefold
. ./common/attr
-_supported_fs generic
_require_scratch_nocheck
_require_scratch_casefold
_require_symlinks
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_inode_limits
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_duperemove
fssize=$((2 * 1024 * 1024 * 1024))
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_duperemove
_scratch_mkfs > $seqres.full 2>&1
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_duperemove
_require_command "$KILLALL_PROG" killall
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_test_program "punch-alternating"
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/cgroup2
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch_nocheck
_require_cgroup2 io
_require_loop
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_loop
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
. ./common/quota
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_xfs_quota_foreign
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "fpunch"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "falloc"
testfile="$TEST_DIR/falloctest-$seq"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_xfs_io_command "falloc"
_require_test_program swapon
_require_scratch_swapfile
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test_program swapon
_require_scratch_nocheck
_require_block_device $SCRATCH_DEV
. ./common/filter
. ./common/locktest
-# real QA test starts here
-_supported_fs generic
_require_test
_require_test_fcntl_advisory_locks
_require_test_fcntl_setlease
. ./common/filter
. ./common/verity
-# real QA test starts here
-_supported_fs generic
_require_scratch_verity
_disable_fsverity_signatures
. ./common/filter
. ./common/verity
-# real QA test starts here
-_supported_fs generic
_require_scratch_verity
_require_user
_require_chattr ia
. ./common/filter
. ./common/verity
-# real QA test starts here
-_supported_fs generic
_require_scratch_verity
_disable_fsverity_signatures
_require_fsverity_corruption
. ./common/filter
. ./common/verity
-# real QA test starts here
-_supported_fs generic
_require_scratch_verity
_disable_fsverity_signatures
. ./common/verity
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_verity
_require_scratch_encryption
_require_command "$KEYCTL_PROG" keyctl
. ./common/filter
. ./common/verity
-# real QA test starts here
-_supported_fs generic
_require_scratch_verity
_require_fsverity_builtin_signatures
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_test_program "mmap-write-concurrent"
_require_command "$FILEFRAG_PROG" filefrag
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/verity
-# real QA test starts here
-_supported_fs generic
_require_scratch_verity
_require_command "$KILLALL_PROG" killall
_disable_fsverity_signatures
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption -v 2
_scratch_mkfs_encrypted &>> $seqres.full
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_user
_require_scratch_encryption -v 2
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_verify_ciphertext_for_encryption_policy AES-256-XTS AES-256-CTS-CBC v2
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_verify_ciphertext_for_encryption_policy AES-128-CBC-ESSIV AES-128-CTS-CBC v2
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
# Test both with and without the DIRECT_KEY flag.
_verify_ciphertext_for_encryption_policy Adiantum Adiantum v2
. ./common/filter
. ./common/renameat2
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_renameat2 whiteout
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_aiodio "aio-dio-append-write-fallocate-race"
_require_test
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_user
_require_quota
_require_xfs_io_command "falloc"
. ./common/reflink
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_dm_target flakey
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_local_device $SCRATCH_DEV
. ./common/filter
-_supported_fs generic
_require_scratch_nocheck
_require_xfs_io_command "falloc"
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_test
_require_odirect
_require_test_program "splice-test"
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_verify_ciphertext_for_encryption_policy AES-256-XTS AES-256-CTS-CBC \
v2 iv_ino_lblk_64
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption -v 2
_require_command "$KEYCTL_PROG" keyctl
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_setquota_project
# V4 XFS doesn't support to mount project and group quota together
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption -v 2
_require_command "$KEYCTL_PROG" keyctl
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_bsd_process_accounting
_require_chattr S
_require_test
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_sysctl_variable fs.protected_symlinks
_require_sysctl_variable fs.protected_hardlinks
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_sysctl_variable fs.protected_regular
_require_sysctl_variable fs.protected_fifos
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_fssum
_require_scratch
_require_scratch_shutdown
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_user
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_user
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_verify_ciphertext_for_encryption_policy AES-256-XTS AES-256-CTS-CBC \
v2 iv_ino_lblk_32
cleanup_files $dir
}
-# real QA test starts here
-_supported_fs generic
_require_scratch
# xfs requires v5 format to support all three quota types at the same time
if [ "$FSTYP" = "xfs" ]; then
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_scratch_mkfs > /dev/null 2>&1
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_hugepages
_require_scratch_dax_mountopt "dax=always"
_require_test_program "feature"
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_scratch_dax_mountopt "dax=always"
_require_dax_iflag
_require_xfs_io_command "statx" "-r"
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_scratch
_require_dax_iflag
_require_xfs_io_command "lsattr" "-v"
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_scratch_dax_mountopt "dax=always"
_require_dax_iflag
_require_xfs_io_command "lsattr" "-v"
. ./common/filter
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_xfs_io_command "pwrite"
_require_odirect
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_xfs_io_command "fzero"
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_attrs
. ./common/filter
. ./common/reflink
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_test_reflink
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_require_scratch_encryption -v 2
_require_get_encryption_nonce_support
_require_command "$XZ_PROG" xz
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_delalloc
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_odirect
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_io_uring
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_odirect
_require_io_uring
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_attrs user
. ./common/filter
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_test_program "t_enospc"
_require_xfs_io_command "falloc"
"Mix-file-ftruncate-test:$MIX_FILE_SIZE:0.75,0.25:$FACT:$FTRUNCATE:3"
)
-# real QA test starts here
for i in "${TEST_VECTORS[@]}"; do
run_testcase $i
done
. ./common/dmhugedisk
# Modify as appropriate.
-_supported_fs generic
_require_scratch_size_nocheck $((4 * 1024 * 1024)) #kB
_require_scratch_16T_support
_require_dmhugedisk
. ./common/encrypt
. ./common/renameat2
-_supported_fs generic
_require_scratch_encryption -v 2
_require_renameat2 noreplace
. ./common/filter
-_supported_fs generic
# This test uses the shutdown command, so it has to use the scratch filesystem
# rather than the test filesystem.
_require_scratch
. ./common/filter
-_supported_fs generic
_fixed_by_kernel_commit e4826691cc7e \
"xfs: restore shutdown check in mapped write fault path"
. ./common/filter
. ./common/verity
-_supported_fs generic
_require_scratch_verity
_disable_fsverity_signatures
fsv_orig_file=$SCRATCH_MNT/file
. ./common/filter
. ./common/verity
-_supported_fs generic
_require_scratch_verity
_require_fsverity_builtin_signatures
. ./common/populate
. ./common/renameat2
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_renameat2 whiteout
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_odirect
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_dm_target error
_require_xfs_io_command "chattr" "s"
. ./common/filter
. ./common/dmerror
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target error
_require_xfs_io_command "chattr" "s"
# Import common functions.
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_dedupe
_require_test_program "deduperace"
# Import common functions.
. ./common/attr
-# real QA test starts here
_require_scratch
_require_attrs trusted
_supported_fs ^overlay
. ./common/preamble
_begin_fstest auto quick mount
-_supported_fs generic
_require_test
_require_test_program "detached_mounts_propagation"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
echo "Silence is golden"
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_scratch
_scratch_mkfs > $seqres.full
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
# Import common functions.
. ./common/filter
-_supported_fs generic
_require_scratch_swapfile
_require_test_program mkswap
_require_test_program swapon
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
testdir=$TEST_DIR/test-$seq
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_test_program "t_mmap_writev_overlap"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
testfile="$TEST_DIR/test_write_begin.$$"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
# Import common functions
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_swapfile
_require_test_program mkswap
}
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_command "$KILLALL_PROG" "killall"
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch_swapfile
_scratch_mkfs >> $seqres.full
# get standard environment, filters and checks
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_idmapped_mounts
_require_test
# get standard environment, filters and checks
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_idmapped_mounts
_require_test
_wants_kernel_commit dacfd001eaf2 \
. ./common/preamble
_begin_fstest auto quick recoveryloop shutdown
-# real QA test starts here
-_supported_fs generic
_fixed_by_kernel_commit 50d25484bebe \
"xfs: sync lazy sb accounting on quiesce of read-only mounts"
# get standard environment, filters and checks
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_odirect
_require_test_program mmap-rw-fault
. ./common/reflink
# Modify as appropriate.
-_supported_fs generic
_require_scratch_reflink
_require_cp_reflink
. ./common/reflink
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_fixed_by_kernel_commit 72a048c1056a \
"xfs: only set IOMAP_F_SHARED when providing a srcmap to a write"
done
}
-_supported_fs generic
_require_test
_require_command "$KILLALL_PROG" "killall"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
pagesz=$(getconf PAGE_SIZE)
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_idmapped_mounts
_require_test
_require_user fsgqa
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
echo "Format and mount"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
echo "Format and mount"
. ./common/filter
. ./common/reflink
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_scratch_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_scratch_dedupe
_require_xfs_io_command dedupe
. ./common/reflink
. ./common/attr
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_command "$GETCAP_PROG" getcap
_require_command "$SETCAP_PROG" setcap
# Import common functions.
# . ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_test_program "t_readdir_3"
. ./common/dmflakey
. ./common/punch
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_dm_target flakey
_require_xfs_io_command "falloc" "-k"
# get standard environment, filters and checks
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_odirect
_require_io_uring
. ./common/filter
. ./common/punch
-# real QA test starts here
_require_scratch
_require_xfs_io_command "falloc"
. ./common/preamble
_begin_fstest auto quick
-# real QA test starts here
-_supported_fs generic
_require_test
_require_user
_require_chmod
. ./common/filter
. ./common/quota
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_quota
_require_user
_require_scratch
. ./common/filter
. ./common/quota
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_quota
_require_user
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_test
verb=falloc
. ./common/filter
. ./common/reflink
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_test
verb=fpunch
. ./common/filter
. ./common/reflink
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_test
verb=fzero
. ./common/filter
. ./common/reflink
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_test
verb=finsert
. ./common/filter
. ./common/reflink
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_test
verb=fcollapse
. ./common/filter
. ./common/attr
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_command "$GETCAP_PROG" getcap
_require_command "$SETCAP_PROG" setcap
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_idmapped_mounts
_require_user fsgqa
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_symlinks
_require_dm_target flakey
# Import common functions.
. ./common/quota
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_quota
_require_user
. ./common/filter
. ./common/verity
-# real QA test starts here
-_supported_fs generic
_require_test
_require_math
_require_scratch_verity
. ./common/filter
. ./common/encrypt
-# real QA test starts here
-_supported_fs generic
_verify_ciphertext_for_encryption_policy AES-256-XTS AES-256-HCTR2 v2
_verify_ciphertext_for_encryption_policy AES-256-XTS AES-256-HCTR2 \
rm -r -f $tmp.* $junk_dir
}
-_supported_fs generic
_fixed_by_kernel_commit 0c336d6e33f4 \
"exfat: fix incorrect loading of i_blocks for large file"
. ./common/dmflakey
. ./common/punch
-_supported_fs generic
_fixed_by_kernel_commit e6e3dec6c3c288 \
"btrfs: update generation of hole file extent item when merging holes"
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_fixed_by_kernel_commit ac6800e279a2 \
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_test
_require_acls
_fixed_by_kernel_commit 1639a49ccdce \
rm -r -f $tmp.*
}
-# real QA test starts here
-_supported_fs generic
_fixed_by_kernel_commit 168f91289340 \
"fs: account for group membership"
_require_scratch
rm -r -f $tmp.*
}
-# real QA test starts here
_supported_fs ^overlay
_require_extra_fs overlay
_require_scratch
. ./common/attr
. ./common/renameat2
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_attrs
_require_renameat2 whiteout
rm -r -f $tmp.* $junk_dir
}
-_supported_fs generic
_fixed_by_kernel_commit 92fba084b79e \
"exfat: fix i_blocks for files truncated over 4 GiB"
_fixed_by_kernel_commit ac3c0d36a2a2f7 \
"btrfs: make fiemap more efficient and accurate reporting extent sharedness"
-_supported_fs generic
_require_scratch_reflink
_require_xfs_io_command "fiemap"
_fixed_by_kernel_commit 8184620ae212 \
"btrfs: fix lost file sync on direct IO write with nowait and dsync iocb"
-_supported_fs generic
# We allocate 256M of data for the test file, so require a higher size of 512M
# which gives a margin of safety for a COW filesystem like btrfs (where metadata
# is always COWed).
# Import common functions.
. ./common/scsi_debug
-# real QA test starts here
-_supported_fs generic
_fixed_by_kernel_commit 7c71ee78031c "xfs: allow logical-sector sized O_DIRECT"
_require_scsi_debug
# If TEST_DEV is block device, make sure current fs is a localfs which can be
. ./common/preamble
_begin_fstest auto shutdown
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
_require_command "$FILEFRAG_PROG" filefrag
_fixed_by_kernel_commit 2f2e84ca6066 \
"btrfs: fix off-by-one in delalloc search during lseek"
-_supported_fs generic
_require_test
_require_seek_data_hole
_require_test_program "seek_sanity_test"
. ./common/preamble
_begin_fstest auto
-_supported_fs generic
_require_scratch
_fixed_by_kernel_commit f950fd052913 \
_fixed_by_kernel_commit b73a6fd1b1ef \
"btrfs: split partial dio bios before submit"
-# real QA test starts here
-_supported_fs generic
_require_test
_require_odirect
_require_test_program dio-buf-fault
. ./common/filter
. ./common/quota
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_user
_require_nobody
. ./common/filter
. ./common/quota
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_user
_require_nobody
# Import common functions.
. ./common/filter
-# real QA test starts here
_require_xfs_io_command swapext
_require_test
# Import common functions.
. ./common/filter
-# real QA test starts here
_require_test_program punch-alternating
_require_xfs_io_command exchangerange
_require_test
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_xfs_io_command exchangerange ' -s 64k -l 64k'
_require_xfs_io_command "falloc"
_require_test
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_xfs_io_command "falloc"
_require_test_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_xfs_io_command exchangerange ' -s 64k -l 64k'
_require_test
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_xfs_io_command startupdate
_require_test_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_xfs_io_command startupdate
_require_test
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_test
# Import common functions.
. ./common/filter
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_xfs_io_command startupdate '-e'
_require_test
# Import common functions.
. ./common/filter
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_test_program punch-alternating
_require_test
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_xfs_io_command startupdate
_require_test_reflink
_require_test
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_program "punch-alternating"
_require_xfs_io_command exchangerange
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_test_program "punch-alternating"
_require_xfs_io_command exchangerange
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_xfs_io_command startupdate '-e'
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_xfs_io_command exchangerange
_require_xfs_io_command startupdate
. ./common/filter
. ./common/attr
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_user
_require_command "$GETCAP_PROG" getcap
_require_command "$SETCAP_PROG" setcap
# Import common functions
. ./common/attr
-# real QA test starts here
-_supported_fs generic
_require_test
_require_attrs
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_test
_require_odirect
_require_test_program mmap-rw-fault
. ./common/filter
. ./common/scsi_debug
-_supported_fs generic
# We don't actually use the test device, but we need a block based fs
_require_test
# We don't actually use the test device, but we need a block based fs
_require_test
_require_block_device $TEST_DEV
-_supported_fs generic
_require_scsi_debug
size=$(_small_fs_size_mb 256)
rm -r -f $tmp.*
}
-# real QA test starts here
_supported_fs ^nfs ^overlay
_require_test
. ./common/attr
. ./common/reflink
-# real QA test starts here
-_supported_fs generic
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fpunch"
rm -r -f $tmp.* $testdir
}
-# real QA test starts here
# Import common functions.
. ./common/filter
_fixed_by_git_commit kernel 35d30c9cf127 \
"iomap: don't skip reading in !uptodate folios when unsharing a range"
-# real QA test starts here
-_supported_fs generic
_require_test_reflink
_require_cp_reflink
_require_xfs_io_command "funshare"
. ./common/populate
_begin_fstest auto quick insert prealloc
-# real QA test starts here
if [[ "$FSTYP" =~ ext[0-9]+ ]]; then
_fixed_by_kernel_commit bc056e7163ac "ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow"
_fixed_by_kernel_commit 2dcf5fde6dff "ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS"
rm -fr $target_dir
}
-_supported_fs generic
_require_test
_require_test_program readdir-while-renames
. ./common/preamble
_begin_fstest auto quick shutdown aio
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_scratch_shutdown
_require_aiodio aio-dio-write-verify
rm -r -f $tmp.*
}
-_supported_fs generic
_require_scratch
_require_freeze
. ./common/filter
. ./common/encrypt
-_supported_fs generic
_wants_kernel_commit 5b1188847180 \
"fscrypt: support crypto data unit size less than filesystem block size"
. ./common/filter
. ./common/dmflakey
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_dm_target flakey
rm -r -f $tmp.*
}
-# real QA test starts here
-_supported_fs generic
_require_test
_require_test_program "fiemap-fault"
_require_test_program "punch-alternating"
_fixed_by_kernel_commit 631426ba1d45 \
"mm/madvise: make MADV_POPULATE_(READ|WRITE) handle VM_FAULT_RETRY properly"
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_xfs_io_command madvise -R
_require_scratch
_require_dm_target error
. ./common/reflink
# Modify as appropriate.
-_supported_fs generic
_require_duplicate_fsid
_require_test
_require_block_device $TEST_DEV
. ./common/preamble
_begin_fstest auto trim fiemap
-_supported_fs generic
_require_test
_require_loop
_require_fstrim
. ./common/preamble
_begin_fstest auto
-# real QA test starts here
-_supported_fs generic
_require_scratch
# This test requires specific data space usage, skip if we have compression
. ./common/attr
_begin_fstest auto quick log preallocrw dangerous
-_supported_fs generic
_require_scratch
_require_attrs
_require_odirect
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs generic
_require_scratch_nocheck
_require_test
_require_xfs_io_command "truncate"
# Import common functions.
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_vm_compaction
fio_out=$tmp.fio.out
fio_err=$tmp.fio.err
-# real QA test starts here
-_supported_fs generic
_require_test
_require_scratch
_require_split_huge_pages_knob
# Import common functions.
. ./common/filter
-# real QA test starts here
_require_xfs_io_command exchangerange
_require_test
. ./common/dmerror
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_dm_target error
. ./common/preamble
_begin_fstest auto
-_supported_fs generic
_require_scratch
test $FSTYP = "xfs" && \
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs nfs
_require_test_nfs_version 4
_require_command $NFS4_SETFACL_PROG "nfs4_setfacl"
_require_command $NFS4_GETFACL_PROG "nfs4_getfacl"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs ocfs2
_require_scratch_reflink
_require_cp_reflink
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
# Remove all files from previous tests
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
# Remove all files from previous tests
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
_require_scratch
# Remove all files from previous tests
. ./common/filter
# Modify as appropriate.
-_supported_fs overlay
_require_scratch
_require_user
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
# Use non-default scratch underlying overlay dirs, we need to check
# them explicity after test.
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
echo "Silence is golden"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
rm -rf $TEST_DIR/$seq
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_user
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit a4859d75944a \
"ovl: fix dentry leak for default_permissions"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 84889d493356 \
"ovl: check dentry positiveness in ovl_cleanup_whiteouts()"
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_scratch
_require_attrs trusted
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
# remove all files from previous runs
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_test_program "t_truncate_self"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 0956254a2d5b "ovl: don't copy up opaqueness"
# Use non-default scratch underlying overlay dirs, we need to check
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_user
_require_group
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v4.19"
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v4.14"
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v4.13"
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch_nocheck
# Remove all files from previous tests
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
_fixed_by_kernel_commit 3fe6e52f0626 \
"ovl: override creds with the ones from the superblock mounter"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
# Remove all files from previous tests
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
_fixed_by_kernel_commit 76bc8e2843b6 "ovl: disallow overlayfs as upperdir"
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
_require_acls
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
_require_scratch
# Remove all files from previous tests
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
_require_user
_require_extra_fs tmpfs
. ./common/attr
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
_require_scratch
_require_attrs trusted
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
_require_scratch
_require_chattr i
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
_require_scratch
_require_command "$FLOCK_PROG" flock
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs overlay
_fixed_by_kernel_commit c4fcfc1619ea "ovl: fix d_real() for stacked fs"
_require_scratch
# Import common functions.
. ./common/filter
-_supported_fs overlay
_require_chattr ia
_require_test_program "t_immutable"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch_nocheck
# remove all files from previous runs
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_scratch_feature index
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_scratch_feature index
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
# Without overlay index feature hardlinks are broken on copy up
_require_scratch_feature index
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
# Use non-default scratch underlying overlay dirs, we need to check
# them explicity after test.
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
# Use non-default scratch underlying overlay dirs, we need to check
# them explicity after test.
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
# Use non-default scratch underlying overlay dirs, we need to check
# them explicity after test.
_require_scratch_nocheck
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v4.14"
# Use non-default scratch underlying overlay dirs, we need to check
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_relatime
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_chattr i
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v4.17"
# Use non-default scratch underlying overlay dirs, we need to check
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 6eaf011144af \
"ovl: fix EIO from lookup of non-indexed upper"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v4.17"
# Use non-default scratch underlying overlay dirs, we need to check
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v4.17"
# Use non-default scratch underlying overlay dirs, we need to check
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
_require_scratch_nocheck
_require_attrs trusted
_require_command "$FSCK_OVERLAY_PROG" fsck.overlay
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
_require_scratch_nocheck
_require_attrs trusted
_require_command "$FSCK_OVERLAY_PROG" fsck.overlay
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_scratch_feature index
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_scratch_feature index
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch_nocheck
_require_scratch_feature redirect_dir
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_test_program "open_by_handle"
# We need to require both features together, because nfs_export cannot
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_test_program "open_by_handle"
# Use non-default scratch underlying overlay dirs, we need to check
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_test_program "open_by_handle"
# We need to require all features together, because nfs_export cannot
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_test_program "open_by_handle"
# Use non-default scratch underlying overlay dirs, we need to check
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 2ca3c148a062 \
"ovl: check lower ancestry on encode of lower dir file handle"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 2ca3c148a062 \
"ovl: check lower ancestry on encode of lower dir file handle"
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
_require_scratch_nocheck
_require_attrs trusted
_require_command "$FSCK_OVERLAY_PROG" fsck.overlay
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
# We use non-default scratch underlying overlay dirs, we need to check
# them explicity after test.
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_test_program "open_by_handle"
# We need to require all features together, because nfs_export cannot
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch_nocheck
_require_scratch_feature redirect_dir
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
# We use non-default scratch underlying overlay dirs, we need to check
# them explicity after test.
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_xfs_io_command "open"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_test_program "open_by_handle"
# We need to require all features together, because nfs_export cannot
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 5e1275808630 \
"ovl: check whiteout in ovl_create_over_whiteout()"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_command "$SETCAP_PROG" setcap
_require_command "$GETCAP_PROG" getcap
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v5.2"
_fixed_by_kernel_commit 0be0bfd2de9d \
"ovl: fix regression caused by overlapping layers detection"
# real QA test starts here.
# Modify as appropriate.
-_supported_fs generic
_require_test
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 9c6d8f13e9da \
"ovl: fix corner case of non-unique st_dev;st_ino"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
# _require_exportfs already requires open_by_handle, but let's not count on it
_require_test_program "open_by_handle"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_scratch_nocheck
# _require_exportfs already requires open_by_handle, but let's not count on it
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v4.17"
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v4.17"
_require_test
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 83552eacdfc0 "ovl: fix WARN_ON nlink drop to zero"
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
# Require index dir to test if workdir/work is not in use
# which implies that whiteout sharing is supported
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 144da23beab8 \
"ovl: return required buffer size for file handles"
_fixed_by_kernel_commit 9aafc1b01873 \
# Import common functions.
. ./common/filter
-_supported_fs overlay
_require_chattr ia
_require_test_program "t_immutable"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_chattr i
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 65cd913ec9d9 \
"ovl: invalidate readdir cache on changes to dir with origin"
_fixed_by_kernel_commit 9011c2791e63 \
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_in_kernel_version "v5.13"
_require_command "$LSATTR_PROG" lasttr
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
# We use non-default scratch underlying overlay dirs, we need to check
# them explicity after test.
_require_scratch_nocheck
. ./common/attr
. ./common/verity
-# real QA test starts here
-_supported_fs overlay
# We use non-default scratch underlying overlay dirs, we need to check
# them explicity after test.
_require_scratch_nocheck
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
_scratch_mkfs >>$seqres.full 2>&1
. ./common/preamble
_begin_fstest auto quick copyup symlink atime
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit ab048302026d \
"ovl: fix failed copyup of fileattr on a symlink"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_fixed_by_kernel_commit 32db51070850 \
"ovl: fix regression in showing lowerdir mount option"
_fixed_by_kernel_commit c34706acf40b \
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
# This test does not run on kernels prior ro v6.7 and now it will also make sure
# that the following on-disk format change was backported to v6.7 based kernels
_fixed_by_kernel_commit 420332b94119 \
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs overlay
# We use non-default scratch underlying overlay dirs, we need to check
# them explicity after test.
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
# _overlay_check_* helpers do not handle special chars well
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_extra_fs tmpfs
_require_test
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_extra_fs tmpfs
_require_test
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_extra_fs tmpfs
_require_test
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_extra_fs tmpfs
_require_test
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_scratch
_require_unionmount_testsuite
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs overlay
_require_test
_require_scratch
_require_unionmount_testsuite
. ./common/filter
. ./common/perf
-# real QA test starts here
-_supported_fs generic
_require_scratch
_require_block_device $SCRATCH_DEV
_require_fio_results
# get standard environment, filters and checks
. ./common/filter
-# real QA test starts here
-_supported_fs tmpfs
_require_idmapped_mounts
_require_test
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs udf
-
_require_scratch
_setup_udf_scratchdir
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch_nocheck
_scratch_mkfs >/dev/null 2>&1
. ./common/filter
# Modify as appropriate.
-_supported_fs xfs
_require_scratch_nocheck
_require_no_large_scratch_dev
_require_xfs_nocrc
status=0 # success is the default!
-# real QA test starts here
-_supported_fs xfs
_require_test
[ -f core ] && rm -f core
rm -f core
}
-# real QA test starts here
echo "=== TEST 1 ==="
_test_xfs_db -r -c 'pop' -c 'type sb'
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_no_large_scratch_dev
. ./common/filter
# Modify as appropriate.
-_supported_fs xfs
_require_scratch_nocheck
. ./common/filter
. ./common/dmerror
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_dm_target error
_require_fs_sysfs error/fail_at_unmount
. ./common/quota
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_xfs_quota
fi
}
-# real QA test starts here
-_supported_fs xfs
_require_test
# Note on special numbers here.
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_io_command "falloc"
$dev | grep -v "Allowing write of corrupted"
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_mkfs_finobt
xfs_freeze -u $SCRATCH_MNT
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_freeze
fi
}
-# real QA test starts here
-_supported_fs xfs
_require_test
# small & fairly dense
done
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_mkfs_finobt
$XFS_IO_PROG -c "pwrite 0 $write_size" $dir/file >> $seqres.full
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_init
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_notrun 'LARP not supported on this filesystem'
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scratch_xfs_crc
' | tr -s ' '
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_test
# Writing a 60t fs requires about 2GB of space, so make sure
return $exit
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_attrs
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $TAPE_DEV
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $TAPE_DEV
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $TAPE_DEV
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $TAPE_DEV
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
'
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
done
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_no_large_scratch_dev
echo '$' >>$tmp.proto
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_no_large_scratch_dev
# Import common functions.
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_test_program "feature"
grep -E -v 'bad user id 0xffffffff|bad group id 0xffffffff'
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_no_large_scratch_dev
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $TAPE_DEV
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $RMT_IRIXTAPE_DEV
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $RMT_TAPE_DEV
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $RMT_TAPE_DEV
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $RMT_IRIXTAPE_DEV
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_no_large_scratch_dev
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_io_command "falloc"
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $TAPE_DEV
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_logdev
exit
}
-# real QA test starts here
#
_require_scratch
_test_xfs_db -r -c "uuid" | $AWK_PROG '/^UUID/ { print $3 }'
}
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_scratch_nocheck
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_test
$here/src/fault $TEST_DIR || exit
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_log()
{
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs xfs
cp /dev/null $seqres.full
chmod a+rwx $seqres.full # arbitrary users will write here
. ./common/dmflakey
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_dm_target flakey
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_quota
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_attrs
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_xfs_io_command "inode"
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_tape $RMT_TAPE_USER@$RMT_IRIXTAPE_DEV
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
# Import common functions.
. ./common/inject
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_io_error_injection log_item_pin
_require_xfs_io_error_injection log_bad_crc
_require_scratch
. ./common/filter
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
_require_command "$XFS_DB_PROG" "xfs_db"
_require_xfs_db_command "fuzz"
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_multi_stream
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_multi_stream
_require_scratch
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
_require_scratch
-# real QA test starts here
-_supported_fs xfs
DIRCOUNT=8
INOCOUNT=$((2048 / DIRCOUNT))
. ./common/dump
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_attrs trusted user
_require_scratch
grep -E -v 'dumpdir|housekeeping|dirattr|dirextattr|namreg|state|tree'
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
LC_COLLATE=POSIX sort
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
#
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_scratch
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_attrs
_require_acls
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
. ./common/filter
. ./common/punch
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >/dev/null 2>&1
. ./common/filter
. ./common/repair
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch_nocheck
_require_command "$KILLALL_PROG" killall
echo | tee -a $seqres.full
}
-# real QA test starts here
-_supported_fs xfs
[ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_io_command "falloc"
rm -f $target
}
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_attrs
_require_xfs_copy
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
# norecovery mounts do not succeed with quotas eanbled, so shut them off
done
}
-# real QA test starts here
if [ -n "$SCRATCH_RTDEV" ]; then
# ./check won't know we unset SCRATCH_RTDEV
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_copy
_require_scratch
_require_no_large_scratch_dev
. ./common/filter
# loop devices are available in Linux only
-_supported_fs xfs
_require_test
# Must have loop device
sed -e '/.* ops; /d'
}
-# real QA test starts here
echo "*** create loop mount point"
rmdir $LOOP_MNT 2>/dev/null
# Import common functions.
. ./common/log
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_v2log
_require_command "$KILLALL_PROG" killall
rm -f $tmp.*
}
-_supported_fs xfs
_require_test
_require_xfs_io_command falloc # iogen requires falloc
cd $TEST_DIR
echo
-# real QA test starts here
$here/ltp/rwtest.sh $quiet $clean -i 2000 -f direct,buffered,sync
status=$?
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_fixed_by_kernel_commit a1de97fe296c \
"xfs: Fix the free logic of state in xfs_attr_node_hasname"
. ./common/preamble
_begin_fstest auto copy quick
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_copy
_require_test
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_attrs
# -b == read/write block size
# -s == preallocation size
-# real QA test starts here
-_supported_fs xfs
_require_xfs_io_command "falloc"
_require_test
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_no_large_scratch_dev
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch
. ./common/filter
. ./common/log
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_v2log
_require_xfs_nocrc
. ./common/filter
. ./common/quota
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_xfs_quota
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_mkfs_finobt
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
# We corrupt XFS on purpose, and check if assert failures would crash system.
_require_no_xfs_bug_on_assert
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
fi
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_create_scratch
$FSSTRESS_PROG $FSSTRESS_ARGS >> $seqres.full 2>&1 &
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_io_command "falloc"
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_quota
_require_user
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_scratch
_require_xfs_io_command allocsp # detect presence of ALLOCSP ioctl
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_quota
_require_xfs_io_command "syncfs"
_qmount
_require_prjquota $SCRATCH_DEV
-# real QA test starts here
rm -f $tmp.projects $seqres.full
_scratch_unmount 2>/dev/null
_scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
populate()
echo "all done!"
}
-# real QA test starts here
_scratch_mkfs_xfs >> $seqres.full
_scratch_mount
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
-# real QA test starts here
_scratch_unmount 2>/dev/null
_scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
[ "$XFS_FSR_PROG" = "" ] && _notrun "xfs_fsr not found"
-# real QA test starts here
_scratch_unmount 2>/dev/null
MKFS_OPTIONS="-bsize=4096"
MOUNT_OPTIONS="-o noatime"
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_test_program "punch-alternating"
_require_cp_reflink
_require_scratch_reflink
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch_nocheck
# We corrupt XFS on purpose, and check if assert failures would crash system.
_require_no_xfs_bug_on_assert
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_quota
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
# Import common functions.
. ./common/filter
-_supported_fs xfs
_require_scratch
_require_command "$XFS_FSR_PROG" "xfs_fsr"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_freeze
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/filter
. ./common/log
-# real QA test starts here
-_supported_fs xfs
rm -f $tmp.log
# get standard environment
-# real QA test starts here
-_supported_fs xfs
_require_command "$INDENT_PROG" indent
# Starting in Linux 6.1, the EFI log formats were adjusted away from using
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/attr
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_no_large_scratch_dev
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_test_lsattr
_require_scratch_reflink
_require_cp_reflink
. ./common/reflink
. ./common/metadump
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_MDRESTORE_PROG" "xfs_mdrestore"
_require_loop
_require_scratch_reflink
. ./common/attr
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
test -n "${FORCE_FUZZ}" || _require_scratch_xfs_crc
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
# we intentionally corrupt the filesystem, so don't check it after the test
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
_disable_dmesg_check
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
_disable_dmesg_check
# Import common functions.
. ./common/log
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_v2log
_require_xfs_db_command "logformat"
. ./common/filter
. ./common/attr
-# real QA test starts here
#_notrun "Need to fix up filtering before checkin"
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_attrs
# Import common functions.
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_scratch_xfs_crc
_require_xfs_db_command "logformat"
# Import common functions.
-# real QA test starts here
-_supported_fs xfs
_require_scratch
cat > $tmp.a << ENDL
. ./common/filter
. ./common/reflink
-# real QA test starts here
# Below agsize (16384 * $blksz) is too small for a large fs, and it's not
# necessary to test on large fs
_require_no_large_scratch_dev
. ./common/filter
. ./common/reflink
-# real QA test starts here
# Below agsize is too small for a large fs, and it's not necessary to test on
# large fs
_require_no_large_scratch_dev
# Import common functions.
. ./common/inject
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_io_error_injection "log_bad_crc"
_require_scratch
_require_command "$KILLALL_PROG" killall
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_realtime
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_realtime
. ./common/preamble
_begin_fstest auto mkfs
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
# The last testcase creates a (sparse) fs image with a 2GB log, so we need
# Import common functions.
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_fixed_by_kernel_commit 1aecf3734a95 \
"xfs: fix chown leaking delalloc quota blocks when fssetxattr fails"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_realtime
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_realtime
_require_xfs_io_command "fcollapse"
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_attrs
_require_xfs_nocrc
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_loop
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_db_command "path"
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_db_command "path"
_require_xfs_db_command "ls"
_require_scratch
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_idmapped_mounts
_require_test_program "vfs/mount-idmapped"
_require_scratch
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs xfs
cp /dev/null $seqres.full
chmod a+rwx $seqres.full # arbitrary users will write here
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
_require_scratch_xfs_crc # needsrepair only exists for v5
_require_libxfs_debug_flag LIBXFS_DEBUG_WRITE_CRASH
. ./common/populate
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
_require_scratch_xfs_crc # needsrepair only exists for v5
_require_populate_commands
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_command "$XFS_ADMIN_PROG" "xfs_admin"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_scratch_nocheck
_require_command "$XFS_ADMIN_PROG" "xfs_admin"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_inobtcount
_require_command "$XFS_ADMIN_PROG" "xfs_admin"
_require_xfs_repair_upgrade inobtcount
# Import common functions.
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_db_command timelimit
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_ADMIN_PROG" "xfs_admin"
_require_scratch_xfs_bigtime
_require_xfs_repair_upgrade bigtime
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_ADMIN_PROG" "xfs_admin"
_require_command "$QUOTA_PROG" "quota"
_require_quota
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
_require_populate_commands
_require_xfs_db_command "fuzz"
[ $ret -eq 0 -a $1 -eq $dblocks ]
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_shrink
echo "Format and mount"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_xfs_io_command "falloc"
}'
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_command "$KILLALL_PROG" killall
_require_xfs_io_command "falloc"
$FSSTRESS_PROG $FSSTRESS_ARGS >> $seqres.full 2>&1
}
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_shrink
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_scratch_mkfs >/dev/null 2>&1
. ./common/filter
. ./common/filestreams
-# real QA test starts here
-_supported_fs xfs
_require_scratch
. ./common/filter
. ./common/filestreams
-# real QA test starts here
-_supported_fs xfs
_require_scratch
. ./common/filter
. ./common/filestreams
-# real QA test starts here
-_supported_fs xfs
_require_scratch
# The first _test_streams call sets up the filestreams allocator to fail and
. ./common/filter
. ./common/filestreams
-# real QA test starts here
-_supported_fs xfs
_require_scratch
. ./common/filter
. ./common/filestreams
-# real QA test starts here
-_supported_fs xfs
_require_scratch
# Import common functions
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_quota
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_xfs_sparse_inodes
_require_scratch_xfs_shrink
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_fixed_by_kernel_commit f38a032b165d "xfs: fix I_DONTCACHE"
_require_xfs_io_command "bulkstat"
. ./common/filter
. ./common/repair
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
# From the PV
# o Summary of testing:
. ./common/attr
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_scratch_nocheck
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/log
-# real QA test starts here
-_supported_fs xfs
rm -f $tmp.log
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
# Setup Filesystem
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scratch_delalloc
_require_scratch_reflink
test -n "$old_use_external" && USE_EXTERNAL="$old_use_external"
}
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_loop
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/attr
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_attrs
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_realtime
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_mkfs_ciname
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_no_realtime
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >/dev/null 2>&1
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scratch_xfs_crc # V4 is deprecated
_fixed_by_kernel_commit 7be3bd8856fb "xfs: empty xattr leaf header blocks are not corruption"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scratch_delalloc
_require_scratch_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
# only xfs supported due to use of xfs_bmap
-_supported_fs xfs
-# real QA test starts here
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_user
. ./common/punch
. ./common/inject
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_xfs_io_error_injection "drop_writes"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_test
bitsperlong=`$here/src/feature -w`
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_nocrc
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scratch_delalloc
_require_scratch_reflink
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
file=$SCRATCH_MNT/f
. ./common/filter
. ./common/repair
-# real QA test starts here
-_supported_fs xfs
# single AG will cause default xfs_repair to fail. This test is actually
# testing the special corner case option needed to repair a single AG fs.
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs > /dev/null 2>&1
_scratch_mount > /dev/null 2>&1
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scratch_delalloc
_require_scratch_reflink
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
# single AG will cause xfs_repair to fail checks.
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_loop
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/reflink
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/reflink
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >/dev/null 2>&1
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >/dev/null 2>&1
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_quota
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_test
[ "$XFS_FSR_PROG" = "" ] && _notrun "xfs_fsr not found"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
[ "$XFS_FSR_PROG" = "" ] && _notrun "xfs_fsr not found"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
# Import common functions.
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_fs_space $TEST_DIR 3200000
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scratch_delalloc
_require_xfs_io_command "cowextsize"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_no_large_scratch_dev
. ./common/filter
. ./common/metadump
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_MDRESTORE_PROG" "xfs_mdrestore"
_require_loop
_require_xfs_scratch_rmapbt
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
test -n ${FORCE_FUZZ} || _require_scratch_xfs_crc
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_xfs_io_command "fpunch"
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
echo "Silence is golden"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "cowextsize"
. ./common/reflink
. ./common/dmerror
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_dm_target error
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_xfs_debug
_require_scratch_reflink
_require_scratch_delalloc
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs xfs
_require_xfs_quota
_require_scratch
_require_projid32bit
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_xfs_debug
_require_scratch_reflink
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_debug
_require_xfs_io_command "bmap" "-c"
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
echo "Format and mount"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_loop
_require_xfs_io_command "falloc"
sed -e '/.* ops; /d'
}
-# real QA test starts here
echo "*** create loop mount point"
rmdir $LOOP_MNT 2>/dev/null
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/punch
-# real QA test starts here
-_supported_fs xfs
-
_require_test
_require_xfs_io_command "falloc"
_require_xfs_io_command "fpunch"
_require_scratch
_xfs_setup_verify_metadump
-# real QA test starts here
OUTPUT_DIR="${SCRATCH_MNT}/test_${seq}"
ORPHANAGE="lost+found"
-_supported_fs xfs
function create_file() {
[ $# -eq 1 ] || return 1
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_xfs_io_command "falloc"
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_scratch_reflink
_require_scratch_delalloc
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_loop
_require_math
echo 'Silence is golden'
-_supported_fs xfs
_require_test
localfile=$TEST_DIR/$seq.$$
echo "Silence is golden."
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_quota
_require_scratch
. ./common/fuzzy
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_command "$LDD_PROG" ldd
_require_scrub
_require_scratch
. ./common/filter
. ./common/quota
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_xfs_quota
. ./common/filter
. ./common/dmerror
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_dm_target error
_require_fs_sysfs error/fail_at_unmount
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_scratch
$XFSDUMP_PROG -h 2>&1 | grep -q -e -D
. ./common/dump
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_tape $TAPE_DEV
_require_attrs trusted
. ./common/dump
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_tape $TAPE_DEV
_require_attrs trusted user
. ./common/attr
. ./common/populate
-# real QA test starts here
_require_scratch
_require_populate_commands
_require_test_program "attr-list-by-handle-cursor-test"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_fixed_by_kernel_commit 74ad4693b647 \
"xfs: fix log recovery when unknown rocompat bits are set"
# skip fs check because superblock contains unknown ro-compat features
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_xfs_io_command "fsmap"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_xfs_io_command "fsmap"
_require_test_program "punch-alternating"
. ./common/filter
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_populate_commands
_require_xfs_io_command "fsmap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_xfs_scratch_rmapbt
_require_xfs_io_command "fsmap"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_logdev
_require_scratch
_require_xfs_io_command "fsmap"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_xfs_io_command "fsmap"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_xfs_io_command "fsmap"
if [ "$USE_EXTERNAL" = "yes" ] && [ -n "$SCRATCH_LOGDEV" ]; then
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_scratch_mkfs >$seqres.full 2>&1
. ./common/filter
. ./common/scsi_debug
-# real QA test starts here
-_supported_fs xfs
_require_scsi_debug
size=$(_small_fs_size_mb 128)
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_xfs_io_command "bmap"
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_legacy_v2_format
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_legacy_v2_format
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
# Import common functions.
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
_require_legacy_v2_format
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_MDRESTORE_PROG" "xfs_mdrestore"
_require_xfs_copy
_require_test
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
-c "print core.projid_hi"
}
-# real QA test starts here
-_supported_fs xfs
_require_xfs_quota
_require_scratch
_require_projid32bit
. ./common/attr
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_attrs
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_loop
. ./common/filter
. ./common/punch
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_xfs_io_command "zero"
. ./common/filter
. ./common/metadump
-_supported_fs xfs
_require_command "$XFS_MDRESTORE_PROG" "xfs_mdrestore"
_xfs_setup_verify_metadump
-# real QA test starts here
_require_scratch
logblks=$(_scratch_find_xfs_min_logblocks -n size=16k -d size=133m)
_scratch_mkfs_xfs -n size=16k -l size=${logblks}b -d size=133m >> $seqres.full 2>&1
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
fsfile=$TEST_DIR/fsfile.$seq
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_command "$MAN_PROG" man
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_test_program "punch-alternating"
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/attr
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_attrs
. ./common/filter
. ./common/dump
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_command "$SETCAP_PROG" setcap
_require_command "$GETCAP_PROG" getcap
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_freeze
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate. This is a XFS specific bug. xfs_db also limits
# this test to xfs
-_supported_fs xfs
_require_scratch
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs xfs
cp /dev/null $seqres.full
chmod a+rwx $seqres.full # arbitrary users will write here
_require_scratch
_require_xfs_nocrc
-# real QA test starts here
-_supported_fs xfs
getenforce | grep -q "Enforcing\|Permissive" || _notrun "SELinux not enabled"
[ "$XFS_FSR_PROG" = "" ] && _notrun "xfs_fsr not found"
. ./common/dump
. ./common/attr
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
. ./common/filter
. ./common/dump
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
_scratch_mount
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
echo "Silence is golden"
. ./common/quota
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_xfs_quota
. ./common/quota
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_xfs_quota
# Import common functions.
# Modify as appropriate.
-_supported_fs xfs
_require_scratch_nocheck # check complains about single AG fs
_require_xfs_io_command "fpunch"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
echo "Format"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
echo "Format"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/dmhugedisk
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_scratch_nocheck
_require_xfs_io_command "falloc"
. ./common/dmdelay
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_require_dm_target delay
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_xfs_io_command "fpunch"
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_xfs_io_command "fpunch"
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_xfs_scratch_rmapbt
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_error_injection
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_error_injection
. ./common/filter
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_scratch_rmapbt
_require_error_injection
. ./common/filter
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_error_injection
_require_xfs_io_error_injection "rmap_finish_one"
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_xfs_io_error_injection "bmap_finish_one"
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_xfs_io_error_injection "bmap_finish_one"
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_xfs_io_error_injection "refcount_finish_one"
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_xfs_scratch_rmapbt
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_xfs_io_error_injection "free_extent"
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_error_injection
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_error_injection
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_cp_reflink
_require_scratch_reflink
. ./common/attr
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_test_program "punch-alternating"
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_command "$XFS_FSR_PROG" "xfs_fsr"
. ./common/reflink
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "falloc" # used in FSR
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_scratch_rmapbt
_require_scratch_reflink
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_command "$XFS_DB_PROG" "xfs_db"
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_disable_dmesg_check
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_test_program "punch-alternating"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_MDRESTORE_PROG" "xfs_mdrestore"
_require_realtime
_require_xfs_scratch_rmapbt
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_test_program "punch-alternating"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_test_program "punch-alternating"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_test_program "punch-alternating"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_xfs_io_command "falloc"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "fiemap"
. ./common/filter
. ./common/repair
-# real QA test starts here
-_supported_fs xfs
_require_scratch
# This test will corrupt fs intentionally, so there will be WARNINGs
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scrub
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_require_xfs_finobt
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_require_xfs_finobt
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
. ./common/fuzzy
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_scratch_xfs_fuzz_fields
. ./common/fuzzy
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_scratch_xfs_fuzz_fields
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
. ./common/fuzzy
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_scratch_xfs_fuzz_fields
. ./common/fuzzy
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_scratch_xfs_fuzz_fields
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "cowextsize"
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command "cowextsize"
. ./common/fuzzy
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/fuzzy
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_test_program "punch-alternating"
_require_xfs_io_command "scrub"
_require_xfs_io_command "falloc"
. ./common/filter
# Modify as appropriate
-_supported_fs xfs
# Since we have an open-coded mkfs call, disable the external devices and
# don't let the post-check fsck actually run since it'll trip over us not
echo "Silence is golden."
-# real QA test starts here
# for different sector sizes, ensure no CRC errors are falsely reported.
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_require_quota
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_require_quota
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_require_quota
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_require_quota
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_require_quota
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_require_quota
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_io_command "chattr" "t"
_require_xfs_io_command "fsync"
_require_xfs_io_command "pwrite"
. ./common/filter
. ./common/metadump
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_MDRESTORE_PROG" "xfs_mdrestore"
_require_scratch
_xfs_setup_verify_metadump
. ./common/attr
. ./common/inject
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_xfs_io_error_injection buf_lru_ref
_require_scratch
_require_attrs
. ./common/quota
. ./common/module
-# real QA test starts here
-_supported_fs xfs
_require_quota
_require_scratch_reflink
_require_cp_reflink
. ./common/quota
. ./common/module
-# real QA test starts here
-_supported_fs xfs
_require_quota
_require_scratch_reflink
_require_cp_reflink
. ./common/inject
. ./common/module
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_xfs_io_command falloc # fsr requires support for preallocation
. ./common/dmflakey
. ./common/quota
-_supported_fs xfs
# due to the injection of write IO error, the fs will be inconsistent
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
# We corrupt XFS on purpose, and check if assert failures would crash the
. ./common/filter
# Modify as appropriate.
-_supported_fs xfs
_require_quota
_require_scratch_delalloc
. ./common/filter
# Modify as appropriate.
-_supported_fs xfs
_require_quota
_require_scratch_reflink
. ./common/reflink
# Modify as appropriate.
-_supported_fs xfs
_require_scratch_reflink
_require_quota
. ./common/filter
. ./common/punch
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_scratch
_require_test_program "punch-alternating"
_require_xfs_io_command "falloc"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_check_dmesg
_require_scratch
. ./common/filter
. ./common/filestreams
-# real QA test starts here
drop_caches()
{
while [ true ]; do
}
# Modify as appropriate.
-_supported_fs generic
_require_scratch_size $((2*1024*1024)) # kb
_require_xfs_io_command "falloc"
# get standard environment
-# real QA test starts here
-_supported_fs xfs
_require_command "$CHECKBASHISMS_PROG" checkbashisms
test -z "$WORKAREA" && _notrun "Can't find xfsprogs source"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_sysfs debug/mount_delay
. ./common/filter
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
_require_xfs_io_command "scrub"
# Corrupt XFS on purpose, and skip if assert failures would crash system.
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
# remove previous \$seqres.full before test
-# real QA test starts here
-_supported_fs xfs
_require_xfs_io_command "falloc"
_require_test_program "punch-alternating"
_require_xfs_scratch_rmapbt
echo "Silence is golden"
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_scratch_mkfs >> /dev/null 2>&1
. ./common/filter
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
_scratch_mkfs_xfs >> $seqres.full 2>&1
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
_require_xfs_finobt
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/fuzzy
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
. ./common/fuzzy
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
_require_quota
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
_require_quota
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
_require_quota
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch_nocheck
_require_xfs_mkfs_finobt
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
echo "Format and mount"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch
echo "Format and mount"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch_nocheck
echo "Format and mount"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_io_command "crc32cselftest"
rm -f "$seqres.full"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
_require_populate_commands
_require_xfs_db_command "fuzz"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/tracing
-# real QA test starts here
-_supported_fs xfs
_require_ftrace
_require_command "$CC_PROG" "cc"
# Import common functions.
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
# Try regular extent size hint
# Import common functions.
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_xfs_io_error_injection "iunlink_fallback"
_require_xfs_sysfs debug/log_recovery_delay
_require_scratch
. ./common/inject
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_io_error_injection "iunlink_fallback"
_require_scratch
_require_test_program "t_open_tmpfiles"
testdir=$TEST_DIR/test-$seq
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_MDRESTORE_PROG" "xfs_mdrestore"
_require_loop
# Import common functions.
. ./common/filter
-_supported_fs xfs
_require_scratch_nocheck
_require_xfs_io_command 'label'
# Import common functions.
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_SPACEMAN_PROG" "xfs_spaceman"
_require_command "$MAN_PROG" man
. ./common/fuzzy
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
_require_scrub
_require_xfs_spaceman_command "health"
. ./common/reflink
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
_require_loop
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_quota
# Real QA test starts here
-_supported_fs xfs
DIRCOUNT=8
INOCOUNT=$((2048 / DIRCOUNT))
_require_test_program "bulkstat_null_ocount"
-# real QA test starts here
-_supported_fs xfs
echo "Silence is golden."
$here/src/bulkstat_null_ocount $TEST_DIR
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_quota
. ./common/filter
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_runas
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_fixed_by_kernel_commit 237d7887ae72 \
"xfs: show the proper user quota options"
# Import common functions.
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_DB_PROG" "xfs_db"
_require_command "$MAN_PROG" man
_require_test
# Import common functions.
-# real QA test starts here
-_supported_fs xfs
_require_command "$XFS_QUOTA_PROG" "xfs_quota"
_require_command "$MAN_PROG" man
_require_test
# Import common functions.
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_nocheck
# Assume that if we can run scrub on the test dev we can run it on the scratch
. ./common/fuzzy
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_xfs_io_command "fsmap"
_require_xfs_stress_scrub
. ./common/filter
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_quota
. ./common/filter
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_cp_reflink
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_disable_dmesg_check
_require_check_dmesg
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
# Note that we don't _require_realtime because we synthesize a rt volume
# below.
_require_scratch_nocheck
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_scratch_nocheck
_require_xfs_mkfs_cfgfile
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_scratch_nocheck
_require_xfs_mkfs_cfgfile
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_scratch_nocheck
_require_xfs_mkfs_cfgfile
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_scratch_nocheck
_require_xfs_mkfs_cfgfile
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_scratch_nocheck
_require_xfs_mkfs_cfgfile
# Import common functions.
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_xfs_debug
_require_quota
_require_scratch
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_loop
_require_command "$FILEFRAG_PROG" filefrag
_require_xfs_io_command "fpunch"
. ./common/inject
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_quota
_require_xfs_debug
. ./common/inject
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
# Note that we don't _require_realtime because we synthesize a rt volume
# below.
_require_test
. ./common/filter
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_debug
_require_xfs_io_command "fpunch"
. ./common/inject
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_attrs
_require_xfs_debug
. ./common/preamble
_begin_fstest auto quick db
-# real QA test starts here
-_supported_fs xfs
_fixed_by_git_commit xfsprogs f4afdcb0ad11 \
"xfs_db: clean up the salvage read callsites in set_cur()"
#skip fs check because invalid superblock 1
. ./common/filter
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_debug
_require_xfs_io_command "falloc"
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scratch_reflink
_require_xfs_debug
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scratch_reflink
_require_xfs_debug
. ./common/filter
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_debug
_require_xfs_scratch_rmapbt
. ./common/inject
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_debug
_require_test_program "punch-alternating"
# Import common functions.
-_supported_fs xfs
_fixed_by_kernel_commit 92cf7d36384b \
"xfs: Skip repetitive warnings about mount options"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
echo "Format and mount"
# Import common functions.
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_realtime
_require_scratch
. ./common/reflink
. ./common/dmflakey
-# real QA test starts here
-_supported_fs xfs
_fixed_by_kernel_commit 5ca5916b6bc9 \
"xfs: punch out data fork delalloc blocks on COW writeback failure"
# Import common functions.
# . ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_test
_require_xfs_mkfs_cfgfile
. ./common/filter
. ./common/dump
-# real QA test starts here
-_supported_fs xfs
# Setup
rm -rf $TEST_DIR/src.$seq
# Import common functions.
. ./common/dump
-_supported_fs xfs
_require_xfs_io_command "falloc"
_require_scratch
. ./common/preamble
_begin_fstest auto quick shutdown
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_io_command syncfs
_require_scratch_nocheck
_require_scratch_shutdown
. ./common/inject
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_nrext64
_require_attrs
. ./common/inject
. ./common/populate
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_nrext64
_require_attrs
. ./common/preamble
_begin_fstest auto quick mkfs
-# real QA test starts here
-_supported_fs xfs
_fixed_by_git_commit xfsprogs 50dba8189b1f \
"mkfs: terminate getsubopt arrays properly"
_require_test
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_check_dmesg
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_check_dmesg
_require_scratch_reflink
_require_cp_reflink
. ./common/filter
. ./common/reflink
-# real QA test starts here
_require_check_dmesg
_require_scratch_reflink
_require_xfs_scratch_rmapbt
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_fixed_by_kernel_commit d62113303d691 \
"xfs: Fix false ENOSPC when performing direct write on a delalloc extent in cow fork"
_require_scratch_reflink
# Import common functions.
. ./common/dump
-_supported_fs xfs
_fixed_by_git_commit xfsdump \
"XXXXXXXXXXXX xfsrestore: fix rootdir due to xfsdump bulkstat misuse"
_require_xfs_io_command "falloc"
. ./common/preamble
_begin_fstest auto quick
-# real QA test starts here
-_supported_fs xfs
_fixed_by_kernel_commit 392c6de98af1 \
"xfs: sanitize sb_inopblock in xfs_mount_validate_sb"
_require_scratch
. ./common/filter
. ./common/dmerror
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_scratch_xfs_crc
_require_scrub
. ./common/preamble
_begin_fstest auto quick prealloc
-_supported_fs xfs
_require_xfs_io_command "falloc"
_require_xfs_io_command "bulkstat_single"
_require_scratch
. ./common/inject
. ./common/tracing
-# real QA test starts here
_cleanup()
{
test -n "$sentryfile" && rm -f $sentryfile
}
# Modify as appropriate.
-_supported_fs xfs
_fixed_by_kernel_commit 5c665e5b5af6 "xfs: remove xfs_map_cow"
_require_ftrace
_require_xfs_io_error_injection "wb_delay_ms"
. ./common/inject
. ./common/tracing
-# real QA test starts here
_cleanup()
{
test -n "$sentryfile" && rm -f $sentryfile
}
# Modify as appropriate.
-_supported_fs xfs
_require_ftrace
_require_xfs_io_command "falloc"
_require_xfs_io_error_injection "write_delay_ms"
. ./common/fuzzy
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_xfs_io_command "fsmap"
_require_xfs_stress_scrub
. ./common/fuzzy
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/fuzzy
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/xfs
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/xfs
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
# Import common functions.
. ./common/dump
-_supported_fs xfs
_fixed_by_git_commit xfsdump \
"XXXXXXXXXXXX xfsrestore: fix rootdir due to xfsdump bulkstat misuse"
_require_xfs_io_command "falloc"
LC_COLLATE=POSIX sort
}
-# real QA test starts here
-_supported_fs xfs
_fixed_by_git_commit xfsdump \
"XXXXXXXXXXXX xfsrestore: fix rootdir due to xfsdump bulkstat misuse"
_require_xfs_io_command "falloc"
. ./common/preamble
_begin_fstest mkfs
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch_nocheck
ls /usr/share/xfsprogs/mkfs/*.conf &>/dev/null || \
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/xfs
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch
_require_xfs_stress_scrub
. ./common/xfs
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/xfs
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/xfs
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/xfs
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_attrs
_require_xfs_stress_scrub
. ./common/xfs
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/xfs
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_attrs
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_realtime
_fixed_by_kernel_commit 9dceccc5822f \
"xfs: use the directory name hash function for dir scrubbing"
-_supported_fs xfs
_require_scratch
_require_xfs_mkfs_ciname
_fixed_by_kernel_commit 9dceccc5822f \
"xfs: use the directory name hash function for dir scrubbing"
-_supported_fs xfs
_require_test
_require_scratch
_require_xfs_mkfs_ciname
_fixed_by_git_commit xfsprogs b7b81f336ac \
"xfs_repair: fix incorrect dabtree hashval comparison"
-_supported_fs xfs
_require_xfs_db_command "hashcoll"
_require_xfs_db_command "path"
_require_scratch
"xfs: fix an agbno overflow in __xfs_getfsmap_datadev"
# Modify as appropriate.
-_supported_fs generic
_require_xfs_io_command fsmap
_require_xfs_scratch_rmapbt
testdir=$TEST_DIR/test-$seq
-# real QA test starts here
-_supported_fs xfs
_require_xfs_copy
_require_scratch_nocheck
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_xfs_db_command iunlink
_require_scratch_nocheck # we'll run repair ourselves
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_xfs_db_command iunlink
# The iunlink bucket repair code wasn't added to the AGI repair code
# until after the directory repair code was merged
. ./common/filter
-_supported_fs xfs
_require_scratch
_require_xfs_io_command "falloc"
_require_xfs_io_command "fpunch"
. ./common/inject
. ./common/metadump
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_test
_require_loop
rm -f $tmp.*
}
-# real QA test starts here
-_supported_fs xfs
_fixed_by_kernel_commit 84712492e6da \
"xfs: short circuit xfs_growfs_data_private() if delta is zero"
_require_test
. ./common/reflink
. ./common/inject
-# real QA test starts here
_fixed_by_kernel_commit d62113303d69 \
"xfs: Fix false ENOSPC when performing direct write on a delalloc extent in cow fork"
# Modify as appropriate.
-_supported_fs xfs
_require_test_program "punch-alternating"
_require_test_reflink
_require_xfs_io_error_injection "bmap_alloc_minlen_extent"
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_inobtcount
_require_command "$XFS_ADMIN_PROG" "xfs_admin"
_require_xfs_repair_upgrade inobtcount
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_fixed_by_kernel_commit 237d7887ae72 \
"xfs: show the proper user quota options"
rm -r -f $tmp.* $loop_file
}
-# real QA test starts here
-_supported_fs xfs
_require_test
_require_loop
. ./common/filter
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_debug
_require_xfs_scratch_rmapbt
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_xfs_io_command "falloc"
_require_xfs_io_command exchangerange
_require_scratch
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs generic
_require_xfs_io_command "falloc"
_require_xfs_io_command exchangerange
_require_realtime
. ./common/filter
# Modify as appropriate
-_supported_fs xfs
_require_scratch
_require_xfs_sysfs debug/larp
_require_xfs_parent
_require_xfs_io_command "parent"
-# real QA test starts here
# Create a directory tree using a protofile and
# make sure all inodes created have parent pointers
. ./common/parent
# Modify as appropriate
-_supported_fs xfs
_require_scratch
_require_xfs_sysfs debug/larp
_require_xfs_parent
_require_xfs_io_command "parent"
-# real QA test starts here
# Create a directory tree using a protofile and
# make sure all inodes created have parent pointers
. ./common/parent
# Modify as appropriate
-_supported_fs xfs
_require_scratch
_require_xfs_sysfs debug/larp
_require_xfs_io_error_injection "larp"
_require_xfs_parent
_require_xfs_io_command "parent"
-# real QA test starts here
# Create a directory tree using a protofile and
# make sure all inodes created have parent pointers
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/fuzzy
. ./common/populate
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_db_command "link"
_require_xfs_db_command "unlink"
_require_scratch
. ./common/fuzzy
. ./common/populate
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_db_command "link"
_require_xfs_db_command "unlink"
_require_scratch
. ./common/fuzzy
. ./common/populate
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_db_command "link"
_require_xfs_db_command "unlink"
_require_scratch
. ./common/fuzzy
. ./common/populate
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_db_command "link"
_require_xfs_db_command "unlink"
_require_scratch
. ./common/fuzzy
. ./common/populate
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_db_command "link"
_require_xfs_db_command "unlink"
_require_scratch
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_io_error_injection "force_repair"
_require_xfs_io_command "falloc"
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/xfs
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_attrs
_require_xfs_stress_online_repair
. ./common/xfs
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/quota
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_xfs_io_command "falloc"
_require_quota
_require_user
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/xfs
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/xfs
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/xfs
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/xfs
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/xfs
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_realtime
_require_xfs_stress_scrub
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
_require_xfs_finobt
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_xfs_scratch_rmapbt
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/fuzzy
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/fuzzy
. ./common/reflink
-# real QA test starts here
-_supported_fs xfs
_require_scratch_reflink
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
_require_quota
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
_require_quota
. ./common/fuzzy
. ./common/quota
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
_require_quota
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
echo "Format and populate"
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
. ./common/populate
. ./common/fuzzy
-# real QA test starts here
-_supported_fs xfs
_require_scratch_xfs_fuzz_fields
_disable_dmesg_check
# Import common functions.
. ./common/filter
-# real QA test starts here
-_supported_fs xfs
_require_xfs_io_command swapext
_require_test
. ./common/reflink
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_xfs_io_command exchangerange
_require_test_program "punch-alternating"
_require_xfs_io_command startupdate
. ./common/filter
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_xfs_io_command exchangerange
_require_xfs_scratch_atomicswap
_require_xfs_io_error_injection "bmap_finish_one"
. ./common/filter
. ./common/inject
-# real QA test starts here
-_supported_fs xfs
_require_xfs_io_command exchangerange
_require_xfs_io_command startupdate '-e'
_require_xfs_scratch_atomicswap
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_realtime
_require_scratch
_require_xfs_stress_online_repair
. ./common/xfs
. ./common/attr
-# real QA test starts here
-_supported_fs xfs
_require_attrs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/quota
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_quota
_require_user
_require_scratch
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/fuzzy
. ./common/filter
-# real QA test starts here
# Modify as appropriate.
-_supported_fs xfs
_require_scratch_nocheck
_require_scrub
_require_xfs_db_command "fuzz"
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_online_repair
. ./common/inject
. ./common/xfs
-# real QA test starts here
-_supported_fs xfs
_require_scratch
_require_xfs_stress_scrub