fstests: update group name according to xfs_io command requirement
PATCH 1/1 fstests: update group name according to xfs_io command requirement
When a test case requires someone xfs_io command, that nearly means that case belong that kind of test group. Likes fpunch for punch group, fcollapse for collapse group, falloc for prealloc group, fzero for zero group and so on.
Many fstests cases miss some test groups they should belong to, so this patch trys to supplement this lack, according to the "xxxx" which required by _require_xfs_io_command "xxxx".
---
Hi,
Ted complains the insert and collapse groups missing [1], cause he have to skip some cases by command of _require_xfs_io_command.
I think the group missing is the real problem and the first problem, so I'm trying to add missed groups to fstests cases, simply according to _require_xfs_io_command lines.
By a simple grep, I found there're too many cases contain _require_xfs_io_command, so I wrote a ugly temporary script to help to do this job automatically as [2]. This script is not good enough, so I took a little time to do manual checking after running the script. Hope this patch helps, feel free to review or test, and please tell me if I miss something.
Thanks,
Zorro
[2]
#! /bin/bash
grep -r _require_xfs_io_command tests | grep -v .out | tr \" \ | tr \' \ > /tmp/file
check_and_fix_group()
{
local gname=$1
local fname=$2
if ! grep -E -q "_begin_fstest.*$gname" $fname;then
sed -i "/_begin_fstest/s/$/ $gname/g" $fname
fi
}
while read line;do
echo "Working on $line ..."
fname=echo $line | cut -d: -f1
cmd=echo $line | awk '{print $2}'
echo "dealing with $cmd on $fname"
if [ "$cmd" = "falloc" ];then
check_and_fix_group prealloc $fname
elif [ "$cmd" = "fpunch" ];then
check_and_fix_group punch $fname
elif [ "$cmd" = "fcollapse" ];then
check_and_fix_group collapse $fname
elif [ "$cmd" = "fzero" ];then
check_and_fix_group zero $fname
elif [ "$cmd" = "finsert" ];then
check_and_fix_group insert $fname
elif [ "$cmd" = "funshare" ];then
check_and_fix_group unshare $fname
elif [ "$cmd" = "copy_range" ];then
check_and_fix_group copy_range $fname
elif [ "$cmd" = "reflink" ];then
check_and_fix_group clone $fname
elif [ "$cmd" = "dedupe" ];then
check_and_fix_group dedupe $fname
elif [ "$cmd" = "fsmap" ];then
check_and_fix_group fsmap $fname
elif [ "$cmd" = "fiemap" ];then
check_and_fix_group fiemap $fname
else
echo "Don't know how to deal with this line"
fi
echo "-- Done --"
done < /tmp/file
tests/btrfs/013 | 2 +- tests/btrfs/016 | 2 +- tests/btrfs/025 | 2 +- tests/btrfs/034 | 2 +- tests/btrfs/037 | 2 +- tests/btrfs/046 | 2 +- tests/btrfs/079 | 2 +- tests/btrfs/095 | 2 +- tests/btrfs/112 | 2 +- tests/btrfs/153 | 2 +- tests/btrfs/169 | 2 +- tests/btrfs/170 | 2 +- tests/btrfs/180 | 2 +- tests/btrfs/193 | 2 +- tests/btrfs/205 | 2 +- tests/btrfs/206 | 2 +- tests/btrfs/290 | 2 +- tests/ext4/009 | 2 +- tests/ext4/015 | 2 +- tests/ext4/034 | 2 +- tests/ext4/054 | 2 +- tests/ext4/307 | 2 +- tests/f2fs/001 | 2 +- tests/generic/032 | 2 +- tests/generic/038 | 2 +- tests/generic/042 | 2 +- tests/generic/103 | 2 +- tests/generic/137 | 2 +- tests/generic/144 | 2 +- tests/generic/145 | 2 +- tests/generic/156 | 2 +- tests/generic/186 | 2 +- tests/generic/187 | 2 +- tests/generic/188 | 2 +- tests/generic/189 | 2 +- tests/generic/190 | 2 +- tests/generic/191 | 2 +- tests/generic/194 | 2 +- tests/generic/195 | 2 +- tests/generic/196 | 2 +- tests/generic/197 | 2 +- tests/generic/199 | 2 +- tests/generic/200 | 2 +- tests/generic/201 | 2 +- tests/generic/216 | 2 +- tests/generic/217 | 2 +- tests/generic/218 | 2 +- tests/generic/220 | 2 +- tests/generic/222 | 2 +- tests/generic/223 | 2 +- tests/generic/227 | 2 +- tests/generic/229 | 2 +- tests/generic/238 | 2 +- tests/generic/264 | 2 +- tests/generic/284 | 2 +- tests/generic/286 | 2 +- tests/generic/287 | 2 +- tests/generic/289 | 2 +- tests/generic/290 | 2 +- tests/generic/291 | 2 +- tests/generic/292 | 2 +- tests/generic/293 | 2 +- tests/generic/295 | 2 +- tests/generic/299 | 2 +- tests/generic/311 | 2 +- tests/generic/324 | 2 +- tests/generic/351 | 2 +- tests/generic/372 | 2 +- tests/generic/391 | 2 +- tests/generic/404 | 2 +- tests/generic/413 | 2 +- tests/generic/414 | 2 +- tests/generic/422 | 2 +- tests/generic/468 | 2 +- tests/generic/469 | 2 +- tests/generic/483 | 2 +- tests/generic/485 | 2 +- tests/generic/499 | 2 +- tests/generic/503 | 2 +- tests/generic/511 | 2 +- tests/generic/515 | 2 +- tests/generic/540 | 2 +- tests/generic/541 | 2 +- tests/generic/542 | 2 +- tests/generic/543 | 2 +- tests/generic/546 | 2 +- tests/generic/605 | 2 +- tests/generic/610 | 2 +- tests/generic/619 | 2 +- tests/generic/627 | 2 +- tests/generic/641 | 2 +- tests/generic/649 | 2 +- tests/generic/652 | 2 +- tests/generic/653 | 2 +- tests/generic/654 | 2 +- tests/generic/655 | 2 +- tests/generic/658 | 2 +- tests/generic/659 | 2 +- tests/generic/660 | 2 +- tests/generic/661 | 2 +- tests/generic/662 | 2 +- tests/generic/663 | 2 +- tests/generic/664 | 2 +- tests/generic/665 | 2 +- tests/generic/666 | 2 +- tests/generic/667 | 2 +- tests/generic/668 | 2 +- tests/generic/669 | 2 +- tests/generic/674 | 2 +- tests/generic/683 | 2 +- tests/generic/684 | 2 +- tests/generic/685 | 2 +- tests/generic/686 | 2 +- tests/generic/687 | 2 +- tests/overlay/060 | 2 +- tests/xfs/014 | 2 +- tests/xfs/042 | 2 +- tests/xfs/076 | 2 +- tests/xfs/084 | 2 +- tests/xfs/114 | 2 +- tests/xfs/118 | 2 +- tests/xfs/128 | 2 +- tests/xfs/166 | 2 +- tests/xfs/167 | 2 +- tests/xfs/176 | 2 +- tests/xfs/184 | 2 +- tests/xfs/185 | 2 +- tests/xfs/187 | 2 +- tests/xfs/192 | 2 +- tests/xfs/200 | 2 +- tests/xfs/204 | 2 +- tests/xfs/215 | 2 +- tests/xfs/218 | 2 +- tests/xfs/219 | 2 +- tests/xfs/221 | 2 +- tests/xfs/223 | 2 +- tests/xfs/224 | 2 +- tests/xfs/225 | 2 +- tests/xfs/226 | 2 +- tests/xfs/228 | 2 +- tests/xfs/230 | 2 +- tests/xfs/231 | 2 +- tests/xfs/232 | 2 +- tests/xfs/243 | 2 +- tests/xfs/245 | 2 +- tests/xfs/248 | 2 +- tests/xfs/249 | 2 +- tests/xfs/251 | 2 +- tests/xfs/254 | 2 +- tests/xfs/255 | 2 +- tests/xfs/256 | 2 +- tests/xfs/257 | 2 +- tests/xfs/258 | 2 +- tests/xfs/280 | 2 +- tests/xfs/294 | 2 +- tests/xfs/310 | 2 +- tests/xfs/312 | 2 +- tests/xfs/313 | 2 +- tests/xfs/316 | 2 +- tests/xfs/324 | 2 +- tests/xfs/326 | 2 +- tests/xfs/328 | 2 +- tests/xfs/330 | 2 +- tests/xfs/331 | 2 +- tests/xfs/332 | 2 +- tests/xfs/335 | 2 +- tests/xfs/336 | 2 +- tests/xfs/337 | 2 +- tests/xfs/341 | 2 +- tests/xfs/342 | 2 +- tests/xfs/343 | 2 +- tests/xfs/344 | 2 +- tests/xfs/345 | 2 +- tests/xfs/346 | 2 +- tests/xfs/347 | 2 +- tests/xfs/423 | 2 +- tests/xfs/443 | 2 +- tests/xfs/444 | 2 +- tests/xfs/445 | 2 +- tests/xfs/450 | 2 +- tests/xfs/513 | 2 +- tests/xfs/528 | 2 +- tests/xfs/529 | 2 +- tests/xfs/534 | 2 +- tests/xfs/535 | 2 +- tests/xfs/537 | 2 +- tests/xfs/545 | 2 +- tests/xfs/554 | 2 +- 188 files changed, 188 insertions(+), 188 deletions(-)
tests/btrfs/013 +1 -1
@@ -11,7 +11,7 @@ # dmesg to see if there was a csum error. # . ./common/preamble -_begin_fstest auto quick balance +_begin_fstest auto quick balance prealloc # Import common functions. . ./common/filter
tests/btrfs/016 +1 -1
@@ -7,7 +7,7 @@ # btrfs send hole punch test # . ./common/preamble -_begin_fstest auto quick send +_begin_fstest auto quick send prealloc tmp=`mktemp -d` tmp_dir=send_temp_$seq
tests/btrfs/025 +1 -1
@@ -11,7 +11,7 @@ # causing the receive command to abort immediately. # . ./common/preamble -_begin_fstest auto quick send clone +_begin_fstest auto quick send clone prealloc tmp=`mktemp -d`
tests/btrfs/034 +1 -1
@@ -8,7 +8,7 @@ # bad detection of file holes. # . ./common/preamble -_begin_fstest auto quick send +_begin_fstest auto quick send prealloc tmp=`mktemp -d`
tests/btrfs/037 +1 -1
@@ -15,7 +15,7 @@ # Btrfs: fix data corruption when reading/updating compressed extents # . ./common/preamble -_begin_fstest auto quick compress +_begin_fstest auto quick compress prealloc tmp=`mktemp -d`
tests/btrfs/046 +1 -1
@@ -14,7 +14,7 @@ # Btrfs: send, fix data corruption due to incorrect hole detection # . ./common/preamble -_begin_fstest auto quick send +_begin_fstest auto quick send preallocrw tmp=`mktemp -d`
tests/btrfs/079 +1 -1
@@ -18,7 +18,7 @@ # btrfs: Fix the wrong condition judgment about subset extent map # . ./common/preamble -_begin_fstest auto rw metadata fiemap +_begin_fstest auto rw metadata fiemap prealloc # Override the default cleanup function. _cleanup()
tests/btrfs/095 +1 -1
@@ -13,7 +13,7 @@ # The regression was introduced in the 4.2-rc1 Linux kernel. # . ./common/preamble -_begin_fstest auto quick metadata log +_begin_fstest auto quick metadata log preallocrw # Override the default cleanup function. _cleanup()
tests/btrfs/112 +1 -1
@@ -8,7 +8,7 @@ # corruption or data loss. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/btrfs/153 +1 -1
@@ -7,7 +7,7 @@ # Test for leaking quota reservations on preallocated files. # . ./common/preamble -_begin_fstest auto quick qgroup limit +_begin_fstest auto quick qgroup limit preallocrw # Import common functions. . ./common/filter
tests/btrfs/169 +1 -1
@@ -9,7 +9,7 @@ # in a section of that prealloc extent. # . ./common/preamble -_begin_fstest auto quick send +_begin_fstest auto quick send prealloc punch # Override the default cleanup function. _cleanup()
tests/btrfs/170 +1 -1
@@ -9,7 +9,7 @@ # subvolume, after a clean shutdown the data was not lost. # . ./common/preamble -_begin_fstest auto quick snapshot +_begin_fstest auto quick snapshot prealloc # Import common functions. . ./common/filter
tests/btrfs/180 +1 -1
@@ -11,7 +11,7 @@ # "btrfs: qgroup: Make qgroup async transaction commit more aggressive" # . ./common/preamble -_begin_fstest auto quick qgroup limit +_begin_fstest auto quick qgroup limit prealloc # Import common functions. . ./common/filter
tests/btrfs/193 +1 -1
@@ -10,7 +10,7 @@ # "btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space" # . ./common/preamble -_begin_fstest auto quick qgroup enospc limit +_begin_fstest auto quick qgroup enospc limit prealloc # Import common functions. . ./common/filter
tests/btrfs/205 +1 -1
@@ -14,7 +14,7 @@ # "Btrfs: implement full reflink support for inline extents" # . ./common/preamble -_begin_fstest auto quick clone compress +_begin_fstest auto quick clone compress prealloc # Import common functions. . ./common/filter
tests/btrfs/206 +1 -1
@@ -12,7 +12,7 @@ # btrfs: replace all uses of btrfs_ordered_update_i_size # . ./common/preamble -_begin_fstest auto quick log replay recoveryloop +_begin_fstest auto quick log replay recoveryloop punch prealloc # Import common functions. . ./common/filter
tests/btrfs/290 +1 -1
@@ -9,7 +9,7 @@ # preallocated extents, holes, and the Merkle descriptor in a btrfs-aware way. # . ./common/preamble -_begin_fstest auto quick verity +_begin_fstest auto quick verity prealloc # Import common functions. . ./common/filter
tests/ext4/009 +1 -1
@@ -8,7 +8,7 @@ # see how the kernel and e2fsck deal with it. # . ./common/preamble -_begin_fstest fuzzers +_begin_fstest fuzzers prealloc # Override the default cleanup function. _cleanup()
tests/ext4/015 +1 -1
@@ -8,7 +8,7 @@ # see how the kernel and e2fsck deal with it. # . ./common/preamble -_begin_fstest fuzzers punch +_begin_fstest fuzzers punch prealloc # Override the default cleanup function. _cleanup()
tests/ext4/034 +1 -1
@@ -11,7 +11,7 @@ # "ext4: make sure enough credits are reserved for dioread_nolock writes" # . ./common/preamble -_begin_fstest auto quick quota fiemap +_begin_fstest auto quick quota fiemap prealloc # Import common functions. . ./common/filter
tests/ext4/054 +1 -1
@@ -12,7 +12,7 @@ # ext4_valid_extent_entries()) . ./common/preamble -_begin_fstest auto quick dangerous_fuzzers +_begin_fstest auto quick dangerous_fuzzers prealloc punch # Import common functions . ./common/filter
tests/ext4/307 +1 -1
@@ -7,7 +7,7 @@ # Check data integrity during defrag compacting # . ./common/preamble -_begin_fstest auto ioctl rw defrag +_begin_fstest auto ioctl rw defrag prealloc # Import common functions. . ./common/filter
tests/f2fs/001 +1 -1
@@ -16,7 +16,7 @@ # In f2fs, up to 3.4KB of data can be embedded into 4KB-sized inode block. # . ./common/preamble -_begin_fstest auto quick rw +_begin_fstest auto quick rw prealloc # Import common functions. . ./common/filter
tests/generic/032 +1 -1
@@ -11,7 +11,7 @@ # are always read back as zeroes. # . ./common/preamble -_begin_fstest auto quick rw fiemap +_begin_fstest auto quick rw fiemap prealloc # Override the default cleanup function. _cleanup()
tests/generic/038 +1 -1
@@ -31,7 +31,7 @@ # disk's image file is performed by the host). # . ./common/preamble -_begin_fstest auto stress trim +_begin_fstest auto stress trim prealloc # Override the default cleanup function. _cleanup()
tests/generic/042 +1 -1
@@ -13,7 +13,7 @@ # stale data exposure can occur. # . ./common/preamble -_begin_fstest shutdown rw punch zero +_begin_fstest shutdown rw punch zero prealloc # Import common functions. . ./common/filter
tests/generic/103 +1 -1
@@ -11,7 +11,7 @@ # ENOSPC. # . ./common/preamble -_begin_fstest auto quick attr enospc +_begin_fstest auto quick attr enospc prealloc _register_cleanup "_cleanup" 25
tests/generic/137 +1 -1
@@ -13,7 +13,7 @@ # extents, and non-matches; but actually dedupe real matches. # . ./common/preamble -_begin_fstest auto clone dedupe +_begin_fstest auto clone dedupe prealloc # Override the default cleanup function. _cleanup()
tests/generic/144 +1 -1
@@ -10,7 +10,7 @@ # - Check that the reflinked areas are still there. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/145 +1 -1
@@ -11,7 +11,7 @@ # - Check that the reflinked areas are still there. # . ./common/preamble -_begin_fstest auto quick clone collapse +_begin_fstest auto quick clone collapse prealloc # Override the default cleanup function. _cleanup()
tests/generic/156 +1 -1
@@ -20,7 +20,7 @@ # "funshare" refers to fallocate copy-on-writing the shared blocks # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone unshare # Override the default cleanup function. _cleanup()
tests/generic/186 +1 -1
@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto clone punch +_begin_fstest auto clone punch prealloc # Override the default cleanup function. _cleanup()
tests/generic/187 +1 -1
@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto clone punch +_begin_fstest auto clone punch prealloc # Override the default cleanup function. _cleanup()
tests/generic/188 +1 -1
@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/189 +1 -1
@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/190 +1 -1
@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/191 +1 -1
@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/194 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/195 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/196 +1 -1
@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/197 +1 -1
@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/199 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Override the default cleanup function. _cleanup()
tests/generic/200 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Override the default cleanup function. _cleanup()
tests/generic/201 +1 -1
@@ -8,7 +8,7 @@ # unlink the file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/216 +1 -1
@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/217 +1 -1
@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/218 +1 -1
@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/220 +1 -1
@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/222 +1 -1
@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/223 +1 -1
@@ -7,7 +7,7 @@ # File alignment tests # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick prealloc # Import common functions. . ./common/filter
tests/generic/227 +1 -1
@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/229 +1 -1
@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/238 +1 -1
@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()
tests/generic/264 +1 -1
@@ -10,7 +10,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone unshare # Import common functions. . ./common/filter
tests/generic/284 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/286 +1 -1
@@ -7,7 +7,7 @@ # SEEK_DATA/SEEK_HOLE copy tests. # . ./common/preamble -_begin_fstest auto quick other seek +_begin_fstest auto quick other seek prealloc # Import common functions. . ./common/filter
tests/generic/287 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/289 +1 -1
@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/290 +1 -1
@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/291 +1 -1
@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/292 +1 -1
@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/293 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/295 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/299 +1 -1
@@ -9,7 +9,7 @@ # Test will operate on huge sparsed files so ENOSPC is expected. # . ./common/preamble -_begin_fstest auto aio enospc rw stress +_begin_fstest auto aio enospc rw stress prealloc fio_config=$tmp.fio fio_out=$tmp.fio.out
tests/generic/311 +1 -1
@@ -18,7 +18,7 @@ # regression test of sorts. # . ./common/preamble -_begin_fstest auto metadata log +_begin_fstest auto metadata log prealloc # Override the default cleanup function. _cleanup()
tests/generic/324 +1 -1
@@ -7,7 +7,7 @@ # Sanity check for defrag utility. # . ./common/preamble -_begin_fstest auto fsr quick defrag +_begin_fstest auto fsr quick defrag prealloc PIDS=""
tests/generic/351 +1 -1
@@ -11,7 +11,7 @@ # devices that don't support write_same or discard. # . ./common/preamble -_begin_fstest blockdev rw punch collapse insert zero +_begin_fstest blockdev rw punch collapse insert zero prealloc _register_cleanup "_cleanup" BUS
tests/generic/372 +1 -1
@@ -7,7 +7,7 @@ # Check that bmap/fiemap accurately report shared extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc _register_cleanup "_cleanup" BUS
tests/generic/391 +1 -1
@@ -9,7 +9,7 @@ # to spurious -EEXIST failures from direct I/O reads. # . ./common/preamble -_begin_fstest auto quick rw +_begin_fstest auto quick rw prealloc # Override the default cleanup function. _cleanup()
tests/generic/404 +1 -1
@@ -45,7 +45,7 @@ # each block insert. # . ./common/preamble -_begin_fstest auto quick insert +_begin_fstest auto quick insert prealloc testfile=$TEST_DIR/$seq.file pattern=$tmp.pattern
tests/generic/413 +1 -1
@@ -7,7 +7,7 @@ # mmap direct/buffered io between DAX and non-DAX mountpoints. # . ./common/preamble -_begin_fstest auto quick dax +_begin_fstest auto quick dax prealloc # Import common functions. . ./common/filter
tests/generic/414 +1 -1
@@ -8,7 +8,7 @@ # block mapping extent. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc _register_cleanup "_cleanup" BUS
tests/generic/422 +1 -1
@@ -9,7 +9,7 @@ # delayed allocations. # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick prealloc # Import common functions. . ./common/filter
tests/generic/468 +1 -1
@@ -18,7 +18,7 @@ # that inode metadata will be unchanged after recovery. # . ./common/preamble -_begin_fstest shutdown auto quick metadata +_begin_fstest shutdown auto quick metadata prealloc # Import common functions. . ./common/filter
tests/generic/469 +1 -1
@@ -14,7 +14,7 @@ # the bug on XFS. # . ./common/preamble -_begin_fstest auto quick punch zero +_begin_fstest auto quick punch zero prealloc file=$TEST_DIR/$seq.fsx
tests/generic/483 +1 -1
@@ -8,7 +8,7 @@ # are placed beyond a file's size. # . ./common/preamble -_begin_fstest auto quick log metadata fiemap +_begin_fstest auto quick log metadata fiemap prealloc # Override the default cleanup function. _cleanup()
tests/generic/485 +1 -1
@@ -9,7 +9,7 @@ # 7d83fb14258b ("xfs: prevent creating negative-sized file via INSERT_RANGE") # . ./common/preamble -_begin_fstest auto quick insert +_begin_fstest auto quick insert prealloc # Override the default cleanup function. _cleanup()
tests/generic/499 +1 -1
@@ -8,7 +8,7 @@ # eof to return nonzero contents. # . ./common/preamble -_begin_fstest auto quick rw collapse zero +_begin_fstest auto quick rw collapse zero prealloc # Import common functions. . ./common/punch
tests/generic/503 +1 -1
@@ -14,7 +14,7 @@ # don't require the DAX mount option or a specific filesystem for the test. . ./common/preamble -_begin_fstest auto quick dax punch collapse zero +_begin_fstest auto quick dax punch collapse zero prealloc # Import common functions. . ./common/filter
tests/generic/511 +1 -1
@@ -8,7 +8,7 @@ # eof to return nonzero contents. # . ./common/preamble -_begin_fstest auto quick rw zero +_begin_fstest auto quick rw zero prealloc # Import common functions. . ./common/punch
tests/generic/515 +1 -1
@@ -10,7 +10,7 @@ # exposure bug uncovered by shared/010. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/540 +1 -1
@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filter
tests/generic/541 +1 -1
@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filter
tests/generic/542 +1 -1
@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filter
tests/generic/543 +1 -1
@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filter
tests/generic/546 +1 -1
@@ -12,7 +12,7 @@ # All operations above should not fail. # . ./common/preamble -_begin_fstest auto quick clone enospc log +_begin_fstest auto quick clone enospc log prealloc # Override the default cleanup function. _cleanup()
tests/generic/605 +1 -1
@@ -7,7 +7,7 @@ # Test per-inode DAX flag by mmap direct/buffered IO. # . ./common/preamble -_begin_fstest auto attr quick dax +_begin_fstest auto attr quick dax prealloc # Import common functions. . ./common/filter
tests/generic/610 +1 -1
@@ -9,7 +9,7 @@ # and the respective range return zeroes on subsequent reads. # . ./common/preamble -_begin_fstest auto quick prealloc zero +_begin_fstest auto quick prealloc zero punch # Import common functions. . ./common/filter
tests/generic/619 +1 -1
@@ -24,7 +24,7 @@ # retrying") # . ./common/preamble -_begin_fstest auto rw enospc +_begin_fstest auto rw enospc prealloc FS_SIZE=$((240*1024*1024)) # 240MB DEBUG=1 # set to 0 to disable debug statements in shell and c-prog
tests/generic/627 +1 -1
@@ -17,7 +17,7 @@ # size < page size. # . ./common/preamble -_begin_fstest auto aio rw stress +_begin_fstest auto aio rw stress prealloc fio_config=$tmp.fio fio_out=$tmp.fio.out
tests/generic/641 +1 -1
@@ -9,7 +9,7 @@ # assignment to unsigned sis->pages in iomap_swapfile_activate"). # . ./common/preamble -_begin_fstest auto quick swap +_begin_fstest auto quick swap collapse # Import common functions . ./common/filter
tests/generic/649 +1 -1
@@ -16,7 +16,7 @@ # unshare a hole. # . ./common/preamble -_begin_fstest auto clone unshare +_begin_fstest auto clone unshare punch # Override the default cleanup function. _cleanup()
tests/generic/652 +1 -1
@@ -10,7 +10,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/653 +1 -1
@@ -10,7 +10,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/654 +1 -1
@@ -10,7 +10,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filter
tests/generic/655 +1 -1
@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filter
tests/generic/658 +1 -1
@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/659 +1 -1
@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/660 +1 -1
@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/661 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/662 +1 -1
@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filter
tests/generic/663 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/664 +1 -1
@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/665 +1 -1
@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/666 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/generic/667 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filter
tests/generic/668 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filter
tests/generic/669 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filter
tests/generic/674 +1 -1
@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a deduplication. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone quick perms dedupe # Import common functions. . ./common/filter
tests/generic/683 +1 -1
@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a fallocate. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone quick perms prealloc # Override the default cleanup function. _cleanup()
tests/generic/684 +1 -1
@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a fpunch. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone quick perms punch # Override the default cleanup function. _cleanup()
tests/generic/685 +1 -1
@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a fzero. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone quick perms zero # Override the default cleanup function. _cleanup()
tests/generic/686 +1 -1
@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a finsert. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone insert quick perms # Override the default cleanup function. _cleanup()
tests/generic/687 +1 -1
@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a fcollapse. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone quick perms collapse # Override the default cleanup function. _cleanup()
tests/overlay/060 +1 -1
@@ -7,7 +7,7 @@ # Test metadata only copy up functionality. # . ./common/preamble -_begin_fstest auto quick metacopy +_begin_fstest auto quick metacopy prealloc # Import common functions. . ./common/filter
tests/xfs/014 +1 -1
@@ -12,7 +12,7 @@ # ENOSPC/EDQUOT. # . ./common/preamble -_begin_fstest auto enospc quick quota +_begin_fstest auto enospc quick quota prealloc # Import common functions. . ./common/filter
tests/xfs/042 +1 -1
@@ -11,7 +11,7 @@ set +x . ./common/preamble -_begin_fstest fsr ioctl auto +_begin_fstest fsr ioctl auto prealloc # Override the default cleanup function. _cleanup()
tests/xfs/076 +1 -1
@@ -18,7 +18,7 @@ # inodes (.i.e., free space) have been consumed. # . ./common/preamble -_begin_fstest auto enospc punch +_begin_fstest auto enospc punch prealloc # Import common functions. . ./common/filter
tests/xfs/084 +1 -1
@@ -8,7 +8,7 @@ # for data corruption (zeroes read) near the end of file. # . ./common/preamble -_begin_fstest ioctl rw auto +_begin_fstest ioctl rw auto prealloc # Import common functions. . ./common/filter
tests/xfs/114 +1 -1
@@ -9,7 +9,7 @@ # extents on either side of the collapse area are mergeable. # . ./common/preamble -_begin_fstest auto quick clone rmap collapse insert +_begin_fstest auto quick clone rmap collapse insert prealloc # Import common functions. . ./common/filter
tests/xfs/118 +1 -1
@@ -16,7 +16,7 @@ # ip->i_df.if_bytes not ip->i_d.di_nextents in xfs_swap_extent_forks # . ./common/preamble -_begin_fstest auto quick fsr +_begin_fstest auto quick fsr prealloc # Import common functions. . ./common/filter
tests/xfs/128 +1 -1
@@ -7,7 +7,7 @@ # Ensure that xfs_fsr un-reflinks files while defragmenting # . ./common/preamble -_begin_fstest auto quick clone fsr +_begin_fstest auto quick clone fsr prealloc # Import common functions. . ./common/filter
tests/xfs/166 +1 -1
@@ -7,7 +7,7 @@ # ->page-mkwrite test - unwritten extents and mmap # . ./common/preamble -_begin_fstest rw metadata auto quick +_begin_fstest rw metadata auto quick prealloc # Import common functions. . ./common/filter
tests/xfs/167 +1 -1
@@ -7,7 +7,7 @@ # unwritten extent conversion test # . ./common/preamble -_begin_fstest rw metadata auto stress +_begin_fstest rw metadata auto stress prealloc # Override the default cleanup function. _cleanup()
tests/xfs/176 +1 -1
@@ -8,7 +8,7 @@ # of the filesystem is now in the middle of a sparse inode cluster. # . ./common/preamble -_begin_fstest auto quick shrinkfs +_begin_fstest auto quick shrinkfs prealloc punch # Import common functions. . ./common/filter
tests/xfs/184 +1 -1
@@ -11,7 +11,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filter
tests/xfs/185 +1 -1
@@ -16,7 +16,7 @@ # smaller than the rt device. # . ./common/preamble -_begin_fstest auto fsmap +_begin_fstest auto fsmap prealloc punch _cleanup() {
tests/xfs/187 +1 -1
@@ -28,7 +28,7 @@ # the fix patches themselves. # . ./common/preamble -_begin_fstest auto quick rw realtime +_begin_fstest auto quick rw realtime prealloc punch # Import common functions. . ./common/filter
tests/xfs/192 +1 -1
@@ -11,7 +11,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filter
tests/xfs/200 +1 -1
@@ -13,7 +13,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filter
tests/xfs/204 +1 -1
@@ -13,7 +13,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filter
tests/xfs/215 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/218 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/219 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/221 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/223 +1 -1
@@ -14,7 +14,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/224 +1 -1
@@ -14,7 +14,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/225 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/226 +1 -1
@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/228 +1 -1
@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filter
tests/xfs/230 +1 -1
@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filter
tests/xfs/231 +1 -1
@@ -12,7 +12,7 @@ # - Write more and see how bad fragmentation is. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Override the default cleanup function. _cleanup()
tests/xfs/232 +1 -1
@@ -13,7 +13,7 @@ # - Write more and see how bad fragmentation is. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Override the default cleanup function. _cleanup()
tests/xfs/243 +1 -1
@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filter
tests/xfs/245 +1 -1
@@ -11,7 +11,7 @@ # - compare file[12] # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/248 +1 -1
@@ -14,7 +14,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/249 +1 -1
@@ -14,7 +14,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/251 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/254 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/255 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/256 +1 -1
@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/257 +1 -1
@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/258 +1 -1
@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filter
tests/xfs/280 +1 -1
@@ -7,7 +7,7 @@ # Check that GETBMAPX accurately report shared extents. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc _register_cleanup "_cleanup" BUS
tests/xfs/294 +1 -1
@@ -14,7 +14,7 @@ # Failure is a hang; KASAN should also catch this. # . ./common/preamble -_begin_fstest auto dir metadata +_begin_fstest auto dir metadata prealloc punch # Import common functions. . ./common/filter
tests/xfs/310 +1 -1
@@ -7,7 +7,7 @@ # Create a file with more than 2^21 blocks (the max length of a bmbt record). # . ./common/preamble -_begin_fstest auto clone rmap +_begin_fstest auto clone rmap prealloc # Override the default cleanup function. _cleanup()
tests/xfs/312 +1 -1
@@ -8,7 +8,7 @@ # Inject an error during block remap to test log recovery. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone punch # Override the default cleanup function. _cleanup()
tests/xfs/313 +1 -1
@@ -8,7 +8,7 @@ # Inject an error during refcount updates to test log recovery. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone punch # Override the default cleanup function. _cleanup()
tests/xfs/316 +1 -1
@@ -8,7 +8,7 @@ # Force XFS into "two refcount updates per transaction" mode. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone punch # Override the default cleanup function. _cleanup()
tests/xfs/324 +1 -1
@@ -8,7 +8,7 @@ # Force XFS into "two refcount updates per transaction" mode. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone punch # Override the default cleanup function. _cleanup()
tests/xfs/326 +1 -1
@@ -10,7 +10,7 @@ # instead of when we're stashing the CoW orphan record. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone punch # Override the default cleanup function. _cleanup()
tests/xfs/328 +1 -1
@@ -7,7 +7,7 @@ # See how well xfs_fsr handles "defragging" a file with a hojillion extents. # . ./common/preamble -_begin_fstest auto quick clone fsr +_begin_fstest auto quick clone fsr prealloc # Import common functions. . ./common/filter
tests/xfs/330 +1 -1
@@ -7,7 +7,7 @@ # Ensure that xfs_fsr handles quota correctly while defragging files. # . ./common/preamble -_begin_fstest auto quick clone fsr quota +_begin_fstest auto quick clone fsr quota prealloc # Import common functions. . ./common/filter
tests/xfs/331 +1 -1
@@ -7,7 +7,7 @@ # Create a big enough rmapbt that we tickle a fdblocks accounting bug. # . ./common/preamble -_begin_fstest auto quick rmap clone +_begin_fstest auto quick rmap clone prealloc # Import common functions. . ./common/filter
tests/xfs/332 +1 -1
@@ -7,7 +7,7 @@ # Make sure query_range returns -EINVAL if lowkey > highkey. # . ./common/preamble -_begin_fstest auto quick rmap clone collapse punch insert zero +_begin_fstest auto quick rmap clone collapse punch insert zero prealloc # Import common functions. . ./common/filter
tests/xfs/335 +1 -1
@@ -7,7 +7,7 @@ # Exercise expanding and shrinking the realtime rmap btree. # . ./common/preamble -_begin_fstest auto rmap realtime +_begin_fstest auto rmap realtime prealloc # Import common functions. . ./common/filter
tests/xfs/336 +1 -1
@@ -7,7 +7,7 @@ # Exercise metadump on realtime rmapbt preservation. # . ./common/preamble -_begin_fstest auto rmap realtime metadump +_begin_fstest auto rmap realtime metadump prealloc # Override the default cleanup function. _cleanup()
tests/xfs/337 +1 -1
@@ -7,7 +7,7 @@ # Corrupt the realtime rmapbt and see how the kernel and xfs_repair deal. # . ./common/preamble -_begin_fstest fuzzers rmap realtime +_begin_fstest fuzzers rmap realtime prealloc # Import common functions. . ./common/filter
tests/xfs/341 +1 -1
@@ -7,7 +7,7 @@ # Cross-link file block into rtrmapbt and see if repair fixes it. # . ./common/preamble -_begin_fstest auto quick rmap realtime +_begin_fstest auto quick rmap realtime prealloc # Import common functions. . ./common/filter
tests/xfs/342 +1 -1
@@ -7,7 +7,7 @@ # Cross-link rtrmapbt block into a file and see if repair fixes it. # . ./common/preamble -_begin_fstest auto quick rmap realtime +_begin_fstest auto quick rmap realtime prealloc # Import common functions. . ./common/filter
tests/xfs/343 +1 -1
@@ -7,7 +7,7 @@ # Basic rmap manipulation tests for realtime files. # . ./common/preamble -_begin_fstest auto quick rmap collapse punch insert zero realtime +_begin_fstest auto quick rmap collapse punch insert zero realtime prealloc # Import common functions. . ./common/filter
tests/xfs/344 +1 -1
@@ -11,7 +11,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filter
tests/xfs/345 +1 -1
@@ -10,7 +10,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filter
tests/xfs/346 +1 -1
@@ -11,7 +11,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filter
tests/xfs/347 +1 -1
@@ -11,7 +11,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filter
tests/xfs/423 +1 -1
@@ -10,7 +10,7 @@ # count them if the fork is in btree format. # . ./common/preamble -_begin_fstest dangerous_scrub +_begin_fstest dangerous_scrub prealloc _register_cleanup "_cleanup" BUS
tests/xfs/443 +1 -1
@@ -15,7 +15,7 @@ # accounting inconsistency. # . ./common/preamble -_begin_fstest auto quick ioctl fsr punch fiemap +_begin_fstest auto quick ioctl fsr punch fiemap prealloc # Import common functions. . ./common/filter
tests/xfs/444 +1 -1
@@ -11,7 +11,7 @@ # about the fix. # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick prealloc _register_cleanup "_cleanup; rm -f $tmp.*"
tests/xfs/445 +1 -1
@@ -18,7 +18,7 @@ # freed inodes in a partially initialized state. # . ./common/preamble -_begin_fstest auto quick filestreams +_begin_fstest auto quick filestreams prealloc # Import common functions. . ./common/filter
tests/xfs/450 +1 -1
@@ -8,7 +8,7 @@ # after the rmapbt has grown in size. # . ./common/preamble -_begin_fstest auto quick rmap +_begin_fstest auto quick rmap prealloc # Import common functions. . ./common/filter
tests/xfs/513 +1 -1
@@ -7,7 +7,7 @@ # XFS mount options sanity check, refer to 'man 5 xfs'. # . ./common/preamble -_begin_fstest auto mount +_begin_fstest auto mount prealloc # Override the default cleanup function. _cleanup()
tests/xfs/528 +1 -1
@@ -8,7 +8,7 @@ # size is and isn't a power of 2. # . ./common/preamble -_begin_fstest auto quick rw realtime +_begin_fstest auto quick insert zero collapse punch rw realtime # Override the default cleanup function. _cleanup()
tests/xfs/529 +1 -1
@@ -9,7 +9,7 @@ # mapping. . ./common/preamble -_begin_fstest auto quick quota +_begin_fstest auto quick quota prealloc # Import common functions. . ./common/filter
tests/xfs/534 +1 -1
@@ -7,7 +7,7 @@ # Verify that XFS does not cause inode fork's extent count to overflow when # writing to an unwritten extent. . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick prealloc # Import common functions. . ./common/filter
tests/xfs/535 +1 -1
@@ -7,7 +7,7 @@ # Verify that XFS does not cause inode fork's extent count to overflow when # writing to a shared extent. . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone unshare # Import common functions. . ./common/filter
tests/xfs/537 +1 -1
@@ -7,7 +7,7 @@ # Verify that XFS does not cause inode fork's extent count to overflow when # swapping forks between files . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick collapse # Import common functions. . ./common/filter
tests/xfs/545 +1 -1
@@ -8,7 +8,7 @@ # than the root inode. Ensure that xfsdump/xfsrestore handles this. # . ./common/preamble -_begin_fstest auto quick dump +_begin_fstest auto quick dump prealloc # Import common functions. . ./common/dump
tests/xfs/554 +1 -1
@@ -9,7 +9,7 @@ # and ensure that 'xfsrestore -x' handles this wrong inode. # . ./common/preamble -_begin_fstest auto quick dump +_begin_fstest auto quick dump prealloc # Import common functions. . ./common/dump
Signature · 1 line
2.31.1
Quoted 22 lines · Zorro Lang
When a test case requires someone
xfs_iocommand, that nearly means that case belong that kind of test group. Likes fpunch for punch group, fcollapse for collapse group, falloc for prealloc group, fzero for zero group and so on.Many fstests cases miss some test groups they should belong to, so this patch trys to supplement this lack, according to the "xxxx" which required by
_require_xfs_io_command"xxxx".Reported-by Theodore Ts'o <[email protected]>Signed-off-by Zorro Lang <[email protected]>---
Hi,
Ted complains the insert and collapse groups missing [1], cause he have to skip some cases by command of
_require_xfs_io_command.I think the group missing is the real problem and the first problem, so I'm trying to add missed groups to fstests cases, simply according to
_require_xfs_io_commandlines.
Quoted 5 lines
By a simple grep, I found there're too many cases contain
_require_xfs_io_command, so I wrote a ugly temporary script to help to do this job automatically as [2]. This script is not good enough, so I took a little time to do manual checking after running the script. Hope this patch helps, feel free to review or test, and please tell me if I miss something.
Any comments about this change? I'm not asking for reviewing that script, just the group names change :)
Thanks,
Zorro
Quoted 2,694 lines
Thanks,
Zorro[2]
#!/bin/bashgrep -r
_require_xfs_io_commandtests | grep -v .out | tr \" \ | tr \' \ >/tmp/file
check_and_fix_group()
{
local gname=$1
local fname=$2if ! grep -E -q "_begin_fstest.*$gname" $fname;then
sed -i "/_begin_fstest/s/$/ $gname/g" $fname
fi
}while read line;do
echo "Working on $line ..."
fname=echo $line | cut -d: -f1
cmd=echo $line | awk '{print $2}'
echo "dealing with $cmd on $fname"
if [ "$cmd" = "falloc" ];then
check_and_fix_groupprealloc $fname
elif [ "$cmd" = "fpunch" ];then
check_and_fix_grouppunch $fname
elif [ "$cmd" = "fcollapse" ];then
check_and_fix_groupcollapse $fname
elif [ "$cmd" = "fzero" ];then
check_and_fix_groupzero $fname
elif [ "$cmd" = "finsert" ];then
check_and_fix_groupinsert $fname
elif [ "$cmd" = "funshare" ];then
check_and_fix_groupunshare $fname
elif [ "$cmd" = "copy_range" ];then
check_and_fix_groupcopy_range$fname
elif [ "$cmd" = "reflink" ];then
check_and_fix_groupclone $fname
elif [ "$cmd" = "dedupe" ];then
check_and_fix_groupdedupe $fname
elif [ "$cmd" = "fsmap" ];then
check_and_fix_groupfsmap $fname
elif [ "$cmd" = "fiemap" ];then
check_and_fix_groupfiemap $fname
else
echo "Don't know how to deal with this line"
fi
echo "-- Done --"
done </tmp/filetests/btrfs/013 | 2 +- tests/btrfs/016 | 2 +- tests/btrfs/025 | 2 +- tests/btrfs/034 | 2 +- tests/btrfs/037 | 2 +- tests/btrfs/046 | 2 +- tests/btrfs/079 | 2 +- tests/btrfs/095 | 2 +- tests/btrfs/112 | 2 +- tests/btrfs/153 | 2 +- tests/btrfs/169 | 2 +- tests/btrfs/170 | 2 +- tests/btrfs/180 | 2 +- tests/btrfs/193 | 2 +- tests/btrfs/205 | 2 +- tests/btrfs/206 | 2 +- tests/btrfs/290 | 2 +- tests/ext4/009 | 2 +- tests/ext4/015 | 2 +- tests/ext4/034 | 2 +- tests/ext4/054 | 2 +- tests/ext4/307 | 2 +- tests/f2fs/001 | 2 +- tests/generic/032 | 2 +- tests/generic/038 | 2 +- tests/generic/042 | 2 +- tests/generic/103 | 2 +- tests/generic/137 | 2 +- tests/generic/144 | 2 +- tests/generic/145 | 2 +- tests/generic/156 | 2 +- tests/generic/186 | 2 +- tests/generic/187 | 2 +- tests/generic/188 | 2 +- tests/generic/189 | 2 +- tests/generic/190 | 2 +- tests/generic/191 | 2 +- tests/generic/194 | 2 +- tests/generic/195 | 2 +- tests/generic/196 | 2 +- tests/generic/197 | 2 +- tests/generic/199 | 2 +- tests/generic/200 | 2 +- tests/generic/201 | 2 +- tests/generic/216 | 2 +- tests/generic/217 | 2 +- tests/generic/218 | 2 +- tests/generic/220 | 2 +- tests/generic/222 | 2 +- tests/generic/223 | 2 +- tests/generic/227 | 2 +- tests/generic/229 | 2 +- tests/generic/238 | 2 +- tests/generic/264 | 2 +- tests/generic/284 | 2 +- tests/generic/286 | 2 +- tests/generic/287 | 2 +- tests/generic/289 | 2 +- tests/generic/290 | 2 +- tests/generic/291 | 2 +- tests/generic/292 | 2 +- tests/generic/293 | 2 +- tests/generic/295 | 2 +- tests/generic/299 | 2 +- tests/generic/311 | 2 +- tests/generic/324 | 2 +- tests/generic/351 | 2 +- tests/generic/372 | 2 +- tests/generic/391 | 2 +- tests/generic/404 | 2 +- tests/generic/413 | 2 +- tests/generic/414 | 2 +- tests/generic/422 | 2 +- tests/generic/468 | 2 +- tests/generic/469 | 2 +- tests/generic/483 | 2 +- tests/generic/485 | 2 +- tests/generic/499 | 2 +- tests/generic/503 | 2 +- tests/generic/511 | 2 +- tests/generic/515 | 2 +- tests/generic/540 | 2 +- tests/generic/541 | 2 +- tests/generic/542 | 2 +- tests/generic/543 | 2 +- tests/generic/546 | 2 +- tests/generic/605 | 2 +- tests/generic/610 | 2 +- tests/generic/619 | 2 +- tests/generic/627 | 2 +- tests/generic/641 | 2 +- tests/generic/649 | 2 +- tests/generic/652 | 2 +- tests/generic/653 | 2 +- tests/generic/654 | 2 +- tests/generic/655 | 2 +- tests/generic/658 | 2 +- tests/generic/659 | 2 +- tests/generic/660 | 2 +- tests/generic/661 | 2 +- tests/generic/662 | 2 +- tests/generic/663 | 2 +- tests/generic/664 | 2 +- tests/generic/665 | 2 +- tests/generic/666 | 2 +- tests/generic/667 | 2 +- tests/generic/668 | 2 +- tests/generic/669 | 2 +- tests/generic/674 | 2 +- tests/generic/683 | 2 +- tests/generic/684 | 2 +- tests/generic/685 | 2 +- tests/generic/686 | 2 +- tests/generic/687 | 2 +- tests/overlay/060 | 2 +- tests/xfs/014 | 2 +- tests/xfs/042 | 2 +- tests/xfs/076 | 2 +- tests/xfs/084 | 2 +- tests/xfs/114 | 2 +- tests/xfs/118 | 2 +- tests/xfs/128 | 2 +- tests/xfs/166 | 2 +- tests/xfs/167 | 2 +- tests/xfs/176 | 2 +- tests/xfs/184 | 2 +- tests/xfs/185 | 2 +- tests/xfs/187 | 2 +- tests/xfs/192 | 2 +- tests/xfs/200 | 2 +- tests/xfs/204 | 2 +- tests/xfs/215 | 2 +- tests/xfs/218 | 2 +- tests/xfs/219 | 2 +- tests/xfs/221 | 2 +- tests/xfs/223 | 2 +- tests/xfs/224 | 2 +- tests/xfs/225 | 2 +- tests/xfs/226 | 2 +- tests/xfs/228 | 2 +- tests/xfs/230 | 2 +- tests/xfs/231 | 2 +- tests/xfs/232 | 2 +- tests/xfs/243 | 2 +- tests/xfs/245 | 2 +- tests/xfs/248 | 2 +- tests/xfs/249 | 2 +- tests/xfs/251 | 2 +- tests/xfs/254 | 2 +- tests/xfs/255 | 2 +- tests/xfs/256 | 2 +- tests/xfs/257 | 2 +- tests/xfs/258 | 2 +- tests/xfs/280 | 2 +- tests/xfs/294 | 2 +- tests/xfs/310 | 2 +- tests/xfs/312 | 2 +- tests/xfs/313 | 2 +- tests/xfs/316 | 2 +- tests/xfs/324 | 2 +- tests/xfs/326 | 2 +- tests/xfs/328 | 2 +- tests/xfs/330 | 2 +- tests/xfs/331 | 2 +- tests/xfs/332 | 2 +- tests/xfs/335 | 2 +- tests/xfs/336 | 2 +- tests/xfs/337 | 2 +- tests/xfs/341 | 2 +- tests/xfs/342 | 2 +- tests/xfs/343 | 2 +- tests/xfs/344 | 2 +- tests/xfs/345 | 2 +- tests/xfs/346 | 2 +- tests/xfs/347 | 2 +- tests/xfs/423 | 2 +- tests/xfs/443 | 2 +- tests/xfs/444 | 2 +- tests/xfs/445 | 2 +- tests/xfs/450 | 2 +- tests/xfs/513 | 2 +- tests/xfs/528 | 2 +- tests/xfs/529 | 2 +- tests/xfs/534 | 2 +- tests/xfs/535 | 2 +- tests/xfs/537 | 2 +- tests/xfs/545 | 2 +- tests/xfs/554 | 2 +- 188 files changed, 188 insertions(+), 188 deletions(-)tests/btrfs/013 +1
-1@@ -11,7 +11,7 @@ # dmesg to see if there was a csum error. # . ./common/preamble -_begin_fstest auto quick balance +_begin_fstest auto quick balance prealloc # Import common functions. . ./common/filtertests/btrfs/016 +1
-1@@ -7,7 +7,7 @@ # btrfs send hole punch test # . ./common/preamble -_begin_fstest auto quick send +_begin_fstest auto quick send prealloc tmp=`mktemp -d` tmp_dir=send_temp_$seqtests/btrfs/025 +1
-1@@ -11,7 +11,7 @@ # causing the receive command to abort immediately. # . ./common/preamble -_begin_fstest auto quick send clone +_begin_fstest auto quick send clone prealloc tmp=`mktemp -d`tests/btrfs/034 +1
-1@@ -8,7 +8,7 @@ # bad detection of file holes. # . ./common/preamble -_begin_fstest auto quick send +_begin_fstest auto quick send prealloc tmp=`mktemp -d`tests/btrfs/037 +1
-1@@ -15,7 +15,7 @@ # Btrfs: fix data corruption when reading/updating compressed extents # . ./common/preamble -_begin_fstest auto quick compress +_begin_fstest auto quick compress prealloc tmp=`mktemp -d`tests/btrfs/046 +1
-1@@ -14,7 +14,7 @@ # Btrfs: send, fix data corruption due to incorrect hole detection # . ./common/preamble -_begin_fstest auto quick send +_begin_fstest auto quick send preallocrw tmp=`mktemp -d`tests/btrfs/079 +1
-1@@ -18,7 +18,7 @@ # btrfs: Fix the wrong condition judgment about subset extent map # . ./common/preamble -_begin_fstest auto rw metadata fiemap +_begin_fstest auto rw metadata fiemap prealloc # Override the default cleanup function. _cleanup()tests/btrfs/095 +1
-1@@ -13,7 +13,7 @@ # The regression was introduced in the 4.2-rc1 Linux kernel. # . ./common/preamble -_begin_fstest auto quick metadata log +_begin_fstest auto quick metadata log preallocrw # Override the default cleanup function. _cleanup()tests/btrfs/112 +1
-1@@ -8,7 +8,7 @@ # corruption or data loss. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/btrfs/153 +1
-1@@ -7,7 +7,7 @@ # Test for leaking quota reservations on preallocated files. # . ./common/preamble -_begin_fstest auto quick qgroup limit +_begin_fstest auto quick qgroup limit preallocrw # Import common functions. . ./common/filtertests/btrfs/169 +1
-1@@ -9,7 +9,7 @@ # in a section of that prealloc extent. # . ./common/preamble -_begin_fstest auto quick send +_begin_fstest auto quick send prealloc punch # Override the default cleanup function. _cleanup()tests/btrfs/170 +1
-1@@ -9,7 +9,7 @@ # subvolume, after a clean shutdown the data was not lost. # . ./common/preamble -_begin_fstest auto quick snapshot +_begin_fstest auto quick snapshot prealloc # Import common functions. . ./common/filtertests/btrfs/180 +1
-1@@ -11,7 +11,7 @@ # "btrfs: qgroup: Make qgroup async transaction commit more aggressive" # . ./common/preamble -_begin_fstest auto quick qgroup limit +_begin_fstest auto quick qgroup limit prealloc # Import common functions. . ./common/filtertests/btrfs/193 +1
-1@@ -10,7 +10,7 @@ # "btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space" # . ./common/preamble -_begin_fstest auto quick qgroup enospc limit +_begin_fstest auto quick qgroup enospc limit prealloc # Import common functions. . ./common/filtertests/btrfs/205 +1
-1@@ -14,7 +14,7 @@ # "Btrfs: implement full reflink support for inline extents" # . ./common/preamble -_begin_fstest auto quick clone compress +_begin_fstest auto quick clone compress prealloc # Import common functions. . ./common/filtertests/btrfs/206 +1
-1@@ -12,7 +12,7 @@ # btrfs: replace all uses of btrfs_ordered_update_i_size # . ./common/preamble -_begin_fstest auto quick log replay recoveryloop +_begin_fstest auto quick log replay recoveryloop punch prealloc # Import common functions. . ./common/filtertests/btrfs/290 +1
-1@@ -9,7 +9,7 @@ # preallocated extents, holes, and the Merkle descriptor in a btrfs-aware way. # . ./common/preamble -_begin_fstest auto quick verity +_begin_fstest auto quick verity prealloc # Import common functions. . ./common/filtertests/ext4/009 +1
-1@@ -8,7 +8,7 @@ # see how the kernel and e2fsck deal with it. # . ./common/preamble -_begin_fstest fuzzers +_begin_fstest fuzzers prealloc # Override the default cleanup function. _cleanup()tests/ext4/015 +1
-1@@ -8,7 +8,7 @@ # see how the kernel and e2fsck deal with it. # . ./common/preamble -_begin_fstest fuzzers punch +_begin_fstest fuzzers punch prealloc # Override the default cleanup function. _cleanup()tests/ext4/034 +1
-1@@ -11,7 +11,7 @@ # "ext4: make sure enough credits are reserved for dioread_nolock writes" # . ./common/preamble -_begin_fstest auto quick quota fiemap +_begin_fstest auto quick quota fiemap prealloc # Import common functions. . ./common/filtertests/ext4/054 +1
-1@@ -12,7 +12,7 @@ # ext4_valid_extent_entries()) . ./common/preamble -_begin_fstest auto quick dangerous_fuzzers +_begin_fstest auto quick dangerous_fuzzers prealloc punch # Import common functions . ./common/filtertests/ext4/307 +1
-1@@ -7,7 +7,7 @@ # Check data integrity during defrag compacting # . ./common/preamble -_begin_fstest auto ioctl rw defrag +_begin_fstest auto ioctl rw defrag prealloc # Import common functions. . ./common/filtertests/f2fs/001 +1
-1@@ -16,7 +16,7 @@ # In f2fs, up to 3.4KB of data can be embedded into 4KB-sized inode block. # . ./common/preamble -_begin_fstest auto quick rw +_begin_fstest auto quick rw prealloc # Import common functions. . ./common/filtertests/generic/032 +1
-1@@ -11,7 +11,7 @@ # are always read back as zeroes. # . ./common/preamble -_begin_fstest auto quick rw fiemap +_begin_fstest auto quick rw fiemap prealloc # Override the default cleanup function. _cleanup()tests/generic/038 +1
-1@@ -31,7 +31,7 @@ # disk's image file is performed by the host). # . ./common/preamble -_begin_fstest auto stress trim +_begin_fstest auto stress trim prealloc # Override the default cleanup function. _cleanup()tests/generic/042 +1
-1@@ -13,7 +13,7 @@ # stale data exposure can occur. # . ./common/preamble -_begin_fstest shutdown rw punch zero +_begin_fstest shutdown rw punch zero prealloc # Import common functions. . ./common/filtertests/generic/103 +1
-1@@ -11,7 +11,7 @@ # ENOSPC. # . ./common/preamble -_begin_fstest auto quick attr enospc +_begin_fstest auto quick attr enospc prealloc _register_cleanup "_cleanup" 25tests/generic/137 +1
-1@@ -13,7 +13,7 @@ # extents, and non-matches; but actually dedupe real matches. # . ./common/preamble -_begin_fstest auto clone dedupe +_begin_fstest auto clone dedupe prealloc # Override the default cleanup function. _cleanup()tests/generic/144 +1
-1@@ -10,7 +10,7 @@ # - Check that the reflinked areas are still there. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/145 +1
-1@@ -11,7 +11,7 @@ # - Check that the reflinked areas are still there. # . ./common/preamble -_begin_fstest auto quick clone collapse +_begin_fstest auto quick clone collapse prealloc # Override the default cleanup function. _cleanup()tests/generic/156 +1
-1@@ -20,7 +20,7 @@ # "funshare" refers to fallocate copy-on-writing the shared blocks # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone unshare # Override the default cleanup function. _cleanup()tests/generic/186 +1
-1@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto clone punch +_begin_fstest auto clone punch prealloc # Override the default cleanup function. _cleanup()tests/generic/187 +1
-1@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto clone punch +_begin_fstest auto clone punch prealloc # Override the default cleanup function. _cleanup()tests/generic/188 +1
-1@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/189 +1
-1@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/190 +1
-1@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/191 +1
-1@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/194 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/195 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/196 +1
-1@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/197 +1
-1@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/199 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Override the default cleanup function. _cleanup()tests/generic/200 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Override the default cleanup function. _cleanup()tests/generic/201 +1
-1@@ -8,7 +8,7 @@ # unlink the file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/216 +1
-1@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/217 +1
-1@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/218 +1
-1@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/220 +1
-1@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/222 +1
-1@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/223 +1
-1@@ -7,7 +7,7 @@ # File alignment tests # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick prealloc # Import common functions. . ./common/filtertests/generic/227 +1
-1@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/229 +1
-1@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/238 +1
-1@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Override the default cleanup function. _cleanup()tests/generic/264 +1
-1@@ -10,7 +10,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone unshare # Import common functions. . ./common/filtertests/generic/284 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/286 +1
-1@@ -7,7 +7,7 @@ # SEEK_DATA/SEEK_HOLE copy tests. # . ./common/preamble -_begin_fstest auto quick other seek +_begin_fstest auto quick other seek prealloc # Import common functions. . ./common/filtertests/generic/287 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/289 +1
-1@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/290 +1
-1@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/291 +1
-1@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/292 +1
-1@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/293 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/295 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/299 +1
-1@@ -9,7 +9,7 @@ # Test will operate on huge sparsed files so ENOSPC is expected. # . ./common/preamble -_begin_fstest auto aio enospc rw stress +_begin_fstest auto aio enospc rw stress prealloc fio_config=$tmp.fio fio_out=$tmp.fio.outtests/generic/311 +1
-1@@ -18,7 +18,7 @@ # regression test of sorts. # . ./common/preamble -_begin_fstest auto metadata log +_begin_fstest auto metadata log prealloc # Override the default cleanup function. _cleanup()tests/generic/324 +1
-1@@ -7,7 +7,7 @@ # Sanity check for defrag utility. # . ./common/preamble -_begin_fstest auto fsr quick defrag +_begin_fstest auto fsr quick defrag prealloc PIDS=""tests/generic/351 +1
-1@@ -11,7 +11,7 @@ # devices that don't support write_same or discard. # . ./common/preamble -_begin_fstest blockdev rw punch collapse insert zero +_begin_fstest blockdev rw punch collapse insert zero prealloc _register_cleanup "_cleanup" BUStests/generic/372 +1
-1@@ -7,7 +7,7 @@ # Check that bmap/fiemap accurately report shared extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc _register_cleanup "_cleanup" BUStests/generic/391 +1
-1@@ -9,7 +9,7 @@ # to spurious -EEXIST failures from direct I/O reads. # . ./common/preamble -_begin_fstest auto quick rw +_begin_fstest auto quick rw prealloc # Override the default cleanup function. _cleanup()tests/generic/404 +1
-1@@ -45,7 +45,7 @@ # each block insert. # . ./common/preamble -_begin_fstest auto quick insert +_begin_fstest auto quick insert prealloc testfile=$TEST_DIR/$seq.file pattern=$tmp.patterntests/generic/413 +1
-1@@ -7,7 +7,7 @@ # mmap direct/buffered io between DAX and non-DAX mountpoints. # . ./common/preamble -_begin_fstest auto quick dax +_begin_fstest auto quick dax prealloc # Import common functions. . ./common/filtertests/generic/414 +1
-1@@ -8,7 +8,7 @@ # block mapping extent. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc _register_cleanup "_cleanup" BUStests/generic/422 +1
-1@@ -9,7 +9,7 @@ # delayed allocations. # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick prealloc # Import common functions. . ./common/filtertests/generic/468 +1
-1@@ -18,7 +18,7 @@ # that inode metadata will be unchanged after recovery. # . ./common/preamble -_begin_fstest shutdown auto quick metadata +_begin_fstest shutdown auto quick metadata prealloc # Import common functions. . ./common/filtertests/generic/469 +1
-1@@ -14,7 +14,7 @@ # the bug on XFS. # . ./common/preamble -_begin_fstest auto quick punch zero +_begin_fstest auto quick punch zero prealloc file=$TEST_DIR/$seq.fsxtests/generic/483 +1
-1@@ -8,7 +8,7 @@ # are placed beyond a file's size. # . ./common/preamble -_begin_fstest auto quick log metadata fiemap +_begin_fstest auto quick log metadata fiemap prealloc # Override the default cleanup function. _cleanup()tests/generic/485 +1
-1@@ -9,7 +9,7 @@ # 7d83fb14258b ("xfs: prevent creating negative-sized file via INSERT_RANGE") # . ./common/preamble -_begin_fstest auto quick insert +_begin_fstest auto quick insert prealloc # Override the default cleanup function. _cleanup()tests/generic/499 +1
-1@@ -8,7 +8,7 @@ # eof to return nonzero contents. # . ./common/preamble -_begin_fstest auto quick rw collapse zero +_begin_fstest auto quick rw collapse zero prealloc # Import common functions. . ./common/punchtests/generic/503 +1
-1@@ -14,7 +14,7 @@ # don't require the DAX mount option or a specific filesystem for the test. . ./common/preamble -_begin_fstest auto quick dax punch collapse zero +_begin_fstest auto quick dax punch collapse zero prealloc # Import common functions. . ./common/filtertests/generic/511 +1
-1@@ -8,7 +8,7 @@ # eof to return nonzero contents. # . ./common/preamble -_begin_fstest auto quick rw zero +_begin_fstest auto quick rw zero prealloc # Import common functions. . ./common/punchtests/generic/515 +1
-1@@ -10,7 +10,7 @@ # exposure bug uncovered by shared/010. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/540 +1
-1@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filtertests/generic/541 +1
-1@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filtertests/generic/542 +1
-1@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filtertests/generic/543 +1
-1@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filtertests/generic/546 +1
-1@@ -12,7 +12,7 @@ # All operations above should not fail. # . ./common/preamble -_begin_fstest auto quick clone enospc log +_begin_fstest auto quick clone enospc log prealloc # Override the default cleanup function. _cleanup()tests/generic/605 +1
-1@@ -7,7 +7,7 @@ # Test per-inode DAX flag by mmap direct/buffered IO. # . ./common/preamble -_begin_fstest auto attr quick dax +_begin_fstest auto attr quick dax prealloc # Import common functions. . ./common/filtertests/generic/610 +1
-1@@ -9,7 +9,7 @@ # and the respective range return zeroes on subsequent reads. # . ./common/preamble -_begin_fstest auto quick prealloc zero +_begin_fstest auto quick prealloc zero punch # Import common functions. . ./common/filtertests/generic/619 +1
-1@@ -24,7 +24,7 @@ # retrying") # . ./common/preamble -_begin_fstest auto rw enospc +_begin_fstest auto rw enospc prealloc FS_SIZE=$((240*1024*1024)) # 240MB DEBUG=1 # set to 0 to disable debug statements in shell and c-progtests/generic/627 +1
-1@@ -17,7 +17,7 @@ # size < page size. # . ./common/preamble -_begin_fstest auto aio rw stress +_begin_fstest auto aio rw stress prealloc fio_config=$tmp.fio fio_out=$tmp.fio.outtests/generic/641 +1
-1@@ -9,7 +9,7 @@ # assignment to unsigned sis->pages in iomap_swapfile_activate"). # . ./common/preamble -_begin_fstest auto quick swap +_begin_fstest auto quick swap collapse # Import common functions . ./common/filtertests/generic/649 +1
-1@@ -16,7 +16,7 @@ # unshare a hole. # . ./common/preamble -_begin_fstest auto clone unshare +_begin_fstest auto clone unshare punch # Override the default cleanup function. _cleanup()tests/generic/652 +1
-1@@ -10,7 +10,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/653 +1
-1@@ -10,7 +10,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/654 +1
-1@@ -10,7 +10,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filtertests/generic/655 +1
-1@@ -11,7 +11,7 @@ # the golden output; we can only compare to a check file. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Import common functions. . ./common/filtertests/generic/658 +1
-1@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/659 +1
-1@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/660 +1
-1@@ -12,7 +12,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/661 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/662 +1
-1@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filtertests/generic/663 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/664 +1
-1@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/665 +1
-1@@ -15,7 +15,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/666 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/generic/667 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filtertests/generic/668 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filtertests/generic/669 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filtertests/generic/674 +1
-1@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a deduplication. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone quick perms dedupe # Import common functions. . ./common/filtertests/generic/683 +1
-1@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a fallocate. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone quick perms prealloc # Override the default cleanup function. _cleanup()tests/generic/684 +1
-1@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a fpunch. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone quick perms punch # Override the default cleanup function. _cleanup()tests/generic/685 +1
-1@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a fzero. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone quick perms zero # Override the default cleanup function. _cleanup()tests/generic/686 +1
-1@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a finsert. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone insert quick perms # Override the default cleanup function. _cleanup()tests/generic/687 +1
-1@@ -7,7 +7,7 @@ # Functional test for dropping suid and sgid bits as part of a fcollapse. # . ./common/preamble -_begin_fstest auto clone quick perms +_begin_fstest auto clone quick perms collapse # Override the default cleanup function. _cleanup()tests/overlay/060 +1
-1@@ -7,7 +7,7 @@ # Test metadata only copy up functionality. # . ./common/preamble -_begin_fstest auto quick metacopy +_begin_fstest auto quick metacopy prealloc # Import common functions. . ./common/filtertests/xfs/014 +1
-1@@ -12,7 +12,7 @@ # ENOSPC/EDQUOT. # . ./common/preamble -_begin_fstest auto enospc quick quota +_begin_fstest auto enospc quick quota prealloc # Import common functions. . ./common/filtertests/xfs/042 +1
-1@@ -11,7 +11,7 @@ set +x . ./common/preamble -_begin_fstest fsr ioctl auto +_begin_fstest fsr ioctl auto prealloc # Override the default cleanup function. _cleanup()tests/xfs/076 +1
-1@@ -18,7 +18,7 @@ # inodes (.i.e., free space) have been consumed. # . ./common/preamble -_begin_fstest auto enospc punch +_begin_fstest auto enospc punch prealloc # Import common functions. . ./common/filtertests/xfs/084 +1
-1@@ -8,7 +8,7 @@ # for data corruption (zeroes read) near the end of file. # . ./common/preamble -_begin_fstest ioctl rw auto +_begin_fstest ioctl rw auto prealloc # Import common functions. . ./common/filtertests/xfs/114 +1
-1@@ -9,7 +9,7 @@ # extents on either side of the collapse area are mergeable. # . ./common/preamble -_begin_fstest auto quick clone rmap collapse insert +_begin_fstest auto quick clone rmap collapse insert prealloc # Import common functions. . ./common/filtertests/xfs/118 +1
-1@@ -16,7 +16,7 @@ # ip->i_df.if_bytes not ip->i_d.di_nextents in xfs_swap_extent_forks # . ./common/preamble -_begin_fstest auto quick fsr +_begin_fstest auto quick fsr prealloc # Import common functions. . ./common/filtertests/xfs/128 +1
-1@@ -7,7 +7,7 @@ # Ensure that xfs_fsr un-reflinks files while defragmenting # . ./common/preamble -_begin_fstest auto quick clone fsr +_begin_fstest auto quick clone fsr prealloc # Import common functions. . ./common/filtertests/xfs/166 +1
-1@@ -7,7 +7,7 @@ # ->page-mkwrite test - unwritten extents and mmap # . ./common/preamble -_begin_fstest rw metadata auto quick +_begin_fstest rw metadata auto quick prealloc # Import common functions. . ./common/filtertests/xfs/167 +1
-1@@ -7,7 +7,7 @@ # unwritten extent conversion test # . ./common/preamble -_begin_fstest rw metadata auto stress +_begin_fstest rw metadata auto stress prealloc # Override the default cleanup function. _cleanup()tests/xfs/176 +1
-1@@ -8,7 +8,7 @@ # of the filesystem is now in the middle of a sparse inode cluster. # . ./common/preamble -_begin_fstest auto quick shrinkfs +_begin_fstest auto quick shrinkfs prealloc punch # Import common functions. . ./common/filtertests/xfs/184 +1
-1@@ -11,7 +11,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filtertests/xfs/185 +1
-1@@ -16,7 +16,7 @@ # smaller than the rt device. # . ./common/preamble -_begin_fstest auto fsmap +_begin_fstest auto fsmap prealloc punch _cleanup() {tests/xfs/187 +1
-1@@ -28,7 +28,7 @@ # the fix patches themselves. # . ./common/preamble -_begin_fstest auto quick rw realtime +_begin_fstest auto quick rw realtime prealloc punch # Import common functions. . ./common/filtertests/xfs/192 +1
-1@@ -11,7 +11,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filtertests/xfs/200 +1
-1@@ -13,7 +13,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filtertests/xfs/204 +1
-1@@ -13,7 +13,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filtertests/xfs/215 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/218 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/219 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/221 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/223 +1
-1@@ -14,7 +14,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/224 +1
-1@@ -14,7 +14,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/225 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/226 +1
-1@@ -13,7 +13,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/228 +1
-1@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filtertests/xfs/230 +1
-1@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filtertests/xfs/231 +1
-1@@ -12,7 +12,7 @@ # - Write more and see how bad fragmentation is. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Override the default cleanup function. _cleanup()tests/xfs/232 +1
-1@@ -13,7 +13,7 @@ # - Write more and see how bad fragmentation is. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap prealloc # Override the default cleanup function. _cleanup()tests/xfs/243 +1
-1@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone punch +_begin_fstest auto quick clone punch prealloc # Import common functions. . ./common/filtertests/xfs/245 +1
-1@@ -11,7 +11,7 @@ # - compare file[12] # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/248 +1
-1@@ -14,7 +14,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/249 +1
-1@@ -14,7 +14,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/251 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/254 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/255 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/256 +1
-1@@ -16,7 +16,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/257 +1
-1@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/258 +1
-1@@ -17,7 +17,7 @@ # - Check that the files are now different where we say they're different. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc # Import common functions. . ./common/filtertests/xfs/280 +1
-1@@ -7,7 +7,7 @@ # Check that GETBMAPX accurately report shared extents. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone prealloc _register_cleanup "_cleanup" BUStests/xfs/294 +1
-1@@ -14,7 +14,7 @@ # Failure is a hang; KASAN should also catch this. # . ./common/preamble -_begin_fstest auto dir metadata +_begin_fstest auto dir metadata prealloc punch # Import common functions. . ./common/filtertests/xfs/310 +1
-1@@ -7,7 +7,7 @@ # Create a file with more than 2^21 blocks (the max length of a bmbt record). # . ./common/preamble -_begin_fstest auto clone rmap +_begin_fstest auto clone rmap prealloc # Override the default cleanup function. _cleanup()tests/xfs/312 +1
-1@@ -8,7 +8,7 @@ # Inject an error during block remap to test log recovery. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone punch # Override the default cleanup function. _cleanup()tests/xfs/313 +1
-1@@ -8,7 +8,7 @@ # Inject an error during refcount updates to test log recovery. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone punch # Override the default cleanup function. _cleanup()tests/xfs/316 +1
-1@@ -8,7 +8,7 @@ # Force XFS into "two refcount updates per transaction" mode. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone punch # Override the default cleanup function. _cleanup()tests/xfs/324 +1
-1@@ -8,7 +8,7 @@ # Force XFS into "two refcount updates per transaction" mode. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone punch # Override the default cleanup function. _cleanup()tests/xfs/326 +1
-1@@ -10,7 +10,7 @@ # instead of when we're stashing the CoW orphan record. # . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone punch # Override the default cleanup function. _cleanup()tests/xfs/328 +1
-1@@ -7,7 +7,7 @@ # See how well xfs_fsr handles "defragging" a file with a hojillion extents. # . ./common/preamble -_begin_fstest auto quick clone fsr +_begin_fstest auto quick clone fsr prealloc # Import common functions. . ./common/filtertests/xfs/330 +1
-1@@ -7,7 +7,7 @@ # Ensure that xfs_fsr handles quota correctly while defragging files. # . ./common/preamble -_begin_fstest auto quick clone fsr quota +_begin_fstest auto quick clone fsr quota prealloc # Import common functions. . ./common/filtertests/xfs/331 +1
-1@@ -7,7 +7,7 @@ # Create a big enough rmapbt that we tickle a fdblocks accounting bug. # . ./common/preamble -_begin_fstest auto quick rmap clone +_begin_fstest auto quick rmap clone prealloc # Import common functions. . ./common/filtertests/xfs/332 +1
-1@@ -7,7 +7,7 @@ # Make sure query_range returns -EINVAL if lowkey > highkey. # . ./common/preamble -_begin_fstest auto quick rmap clone collapse punch insert zero +_begin_fstest auto quick rmap clone collapse punch insert zero prealloc # Import common functions. . ./common/filtertests/xfs/335 +1
-1@@ -7,7 +7,7 @@ # Exercise expanding and shrinking the realtime rmap btree. # . ./common/preamble -_begin_fstest auto rmap realtime +_begin_fstest auto rmap realtime prealloc # Import common functions. . ./common/filtertests/xfs/336 +1
-1@@ -7,7 +7,7 @@ # Exercise metadump on realtime rmapbt preservation. # . ./common/preamble -_begin_fstest auto rmap realtime metadump +_begin_fstest auto rmap realtime metadump prealloc # Override the default cleanup function. _cleanup()tests/xfs/337 +1
-1@@ -7,7 +7,7 @@ # Corrupt the realtime rmapbt and see how the kernel and xfs_repair deal. # . ./common/preamble -_begin_fstest fuzzers rmap realtime +_begin_fstest fuzzers rmap realtime prealloc # Import common functions. . ./common/filtertests/xfs/341 +1
-1@@ -7,7 +7,7 @@ # Cross-link file block into rtrmapbt and see if repair fixes it. # . ./common/preamble -_begin_fstest auto quick rmap realtime +_begin_fstest auto quick rmap realtime prealloc # Import common functions. . ./common/filtertests/xfs/342 +1
-1@@ -7,7 +7,7 @@ # Cross-link rtrmapbt block into a file and see if repair fixes it. # . ./common/preamble -_begin_fstest auto quick rmap realtime +_begin_fstest auto quick rmap realtime prealloc # Import common functions. . ./common/filtertests/xfs/343 +1
-1@@ -7,7 +7,7 @@ # Basic rmap manipulation tests for realtime files. # . ./common/preamble -_begin_fstest auto quick rmap collapse punch insert zero realtime +_begin_fstest auto quick rmap collapse punch insert zero realtime prealloc # Import common functions. . ./common/filtertests/xfs/344 +1
-1@@ -11,7 +11,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filtertests/xfs/345 +1
-1@@ -10,7 +10,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filtertests/xfs/346 +1
-1@@ -11,7 +11,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filtertests/xfs/347 +1
-1@@ -11,7 +11,7 @@ # - Check the number of extents. # . ./common/preamble -_begin_fstest auto quick clone fiemap +_begin_fstest auto quick clone fiemap unshare # Import common functions. . ./common/filtertests/xfs/423 +1
-1@@ -10,7 +10,7 @@ # count them if the fork is in btree format. # . ./common/preamble -_begin_fstest dangerous_scrub +_begin_fstest dangerous_scrub prealloc _register_cleanup "_cleanup" BUStests/xfs/443 +1
-1@@ -15,7 +15,7 @@ # accounting inconsistency. # . ./common/preamble -_begin_fstest auto quick ioctl fsr punch fiemap +_begin_fstest auto quick ioctl fsr punch fiemap prealloc # Import common functions. . ./common/filtertests/xfs/444 +1
-1@@ -11,7 +11,7 @@ # about the fix. # . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick prealloc _register_cleanup "_cleanup; rm -f $tmp.*"tests/xfs/445 +1
-1@@ -18,7 +18,7 @@ # freed inodes in a partially initialized state. # . ./common/preamble -_begin_fstest auto quick filestreams +_begin_fstest auto quick filestreams prealloc # Import common functions. . ./common/filtertests/xfs/450 +1
-1@@ -8,7 +8,7 @@ # after the rmapbt has grown in size. # . ./common/preamble -_begin_fstest auto quick rmap +_begin_fstest auto quick rmap prealloc # Import common functions. . ./common/filtertests/xfs/513 +1
-1@@ -7,7 +7,7 @@ # XFS mount options sanity check, refer to 'man 5 xfs'. # . ./common/preamble -_begin_fstest auto mount +_begin_fstest auto mount prealloc # Override the default cleanup function. _cleanup()tests/xfs/528 +1
-1@@ -8,7 +8,7 @@ # size is and isn't a power of 2. # . ./common/preamble -_begin_fstest auto quick rw realtime +_begin_fstest auto quick insert zero collapse punch rw realtime # Override the default cleanup function. _cleanup()tests/xfs/529 +1
-1@@ -9,7 +9,7 @@ # mapping. . ./common/preamble -_begin_fstest auto quick quota +_begin_fstest auto quick quota prealloc # Import common functions. . ./common/filtertests/xfs/534 +1
-1@@ -7,7 +7,7 @@ # Verify that XFS does not cause inode fork's extent count to overflow when # writing to an unwritten extent. . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick prealloc # Import common functions. . ./common/filtertests/xfs/535 +1
-1@@ -7,7 +7,7 @@ # Verify that XFS does not cause inode fork's extent count to overflow when # writing to a shared extent. . ./common/preamble -_begin_fstest auto quick clone +_begin_fstest auto quick clone unshare # Import common functions. . ./common/filtertests/xfs/537 +1
-1@@ -7,7 +7,7 @@ # Verify that XFS does not cause inode fork's extent count to overflow when # swapping forks between files . ./common/preamble -_begin_fstest auto quick +_begin_fstest auto quick collapse # Import common functions. . ./common/filtertests/xfs/545 +1
-1@@ -8,7 +8,7 @@ # than the root inode. Ensure that xfsdump/xfsrestore handles this. # . ./common/preamble -_begin_fstest auto quick dump +_begin_fstest auto quick dump prealloc # Import common functions. . ./common/dumptests/xfs/554 +1
-1@@ -9,7 +9,7 @@ # and ensure that 'xfsrestore -x' handles this wrong inode. # . ./common/preamble -_begin_fstest auto quick dump +_begin_fstest auto quick dump prealloc # Import common functions. . ./common/dumpSignature · 1 line
2.31.1
Andrey Albershteyn
Reviewed-byQuoted 29 lines · Zorro Lang
Quoted 22 lines · Zorro Lang
When a test case requires someone
xfs_iocommand, that nearly means that case belong that kind of test group. Likes fpunch for punch group, fcollapse for collapse group, falloc for prealloc group, fzero for zero group and so on.Many fstests cases miss some test groups they should belong to, so this patch trys to supplement this lack, according to the "xxxx" which required by
_require_xfs_io_command"xxxx".Reported-by Theodore Ts'o <[email protected]>Signed-off-by Zorro Lang <[email protected]>---
Hi,
Ted complains the insert and collapse groups missing [1], cause he have to skip some cases by command of
_require_xfs_io_command.I think the group missing is the real problem and the first problem, so I'm trying to add missed groups to fstests cases, simply according to
_require_xfs_io_commandlines.Quoted 5 lines
By a simple grep, I found there're too many cases contain
_require_xfs_io_command, so I wrote a ugly temporary script to help to do this job automatically as [2]. This script is not good enough, so I took a little time to do manual checking after running the script. Hope this patch helps, feel free to review or test, and please tell me if I miss something.
Quoted 6 lines
Any comments about this change? I'm not asking for reviewing that script, just the group names change :)
Thanks,
Zorro
The changes looks good to me (also did some manual checking).
But otherwise, I think, as it's in shape now it's more work for reviewer - to check those groups, as it could be done automatically maybe it make sense to add similar script to build system, maybe? :)
Btw, which commands are considered to have their own group? pwrite, for example, doesn't have a group (so, those tests aren't changed).
Signature · 1 line
- Andrey