# 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
# 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
# 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`
# bad detection of file holes.
#
. ./common/preamble
-_begin_fstest auto quick send
+_begin_fstest auto quick send prealloc
tmp=`mktemp -d`
# 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`
# 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`
# 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()
# 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()
# corruption or data loss.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone prealloc
# Import common functions.
. ./common/filter
# 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
# 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()
# 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
# "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
# "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
# "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
# 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
# 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
# see how the kernel and e2fsck deal with it.
#
. ./common/preamble
-_begin_fstest fuzzers
+_begin_fstest fuzzers prealloc
# Override the default cleanup function.
_cleanup()
# 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()
# "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
# 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
# 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
# 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
# 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()
# 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()
# 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
# ENOSPC.
#
. ./common/preamble
-_begin_fstest auto quick attr enospc
+_begin_fstest auto quick attr enospc prealloc
_register_cleanup "_cleanup" 25
# 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()
# - 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()
# - 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()
# "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()
# - 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()
# - 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()
# - 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()
# - 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()
# - 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()
# - 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()
# - 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()
# - 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()
# - 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()
# - 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()
# - 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()
# - 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()
# unlink the file.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone prealloc
# Override the default cleanup function.
_cleanup()
# 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()
# 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()
# 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()
# 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()
# 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()
# File alignment tests
#
. ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick prealloc
# Import common functions.
. ./common/filter
# 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()
# 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()
# 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()
# 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
# - 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
# 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# 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
# regression test of sorts.
#
. ./common/preamble
-_begin_fstest auto metadata log
+_begin_fstest auto metadata log prealloc
# Override the default cleanup function.
_cleanup()
# Sanity check for defrag utility.
#
. ./common/preamble
-_begin_fstest auto fsr quick defrag
+_begin_fstest auto fsr quick defrag prealloc
PIDS=""
# 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
# 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
# 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()
# each block insert.
#
. ./common/preamble
-_begin_fstest auto quick insert
+_begin_fstest auto quick insert prealloc
testfile=$TEST_DIR/$seq.file
pattern=$tmp.pattern
# 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
# block mapping extent.
#
. ./common/preamble
-_begin_fstest auto quick clone fiemap
+_begin_fstest auto quick clone fiemap prealloc
_register_cleanup "_cleanup" BUS
# delayed allocations.
#
. ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick prealloc
# Import common functions.
. ./common/filter
# 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
# the bug on XFS.
#
. ./common/preamble
-_begin_fstest auto quick punch zero
+_begin_fstest auto quick punch zero prealloc
file=$TEST_DIR/$seq.fsx
# 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()
# 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()
# 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
# 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
# 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
# exposure bug uncovered by shared/010.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone prealloc
# Import common functions.
. ./common/filter
# - 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
# - 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
# - 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
# - 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
# 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()
# 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
# 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
# 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
# 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
# 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
# unshare a hole.
#
. ./common/preamble
-_begin_fstest auto clone unshare
+_begin_fstest auto clone unshare punch
# Override the default cleanup function.
_cleanup()
# 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
# 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
# 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
# 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# 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
# 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()
# 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()
# 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()
# 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()
# 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()
# Test metadata only copy up functionality.
#
. ./common/preamble
-_begin_fstest auto quick metacopy
+_begin_fstest auto quick metacopy prealloc
# Import common functions.
. ./common/filter
# ENOSPC/EDQUOT.
#
. ./common/preamble
-_begin_fstest auto enospc quick quota
+_begin_fstest auto enospc quick quota prealloc
# Import common functions.
. ./common/filter
set +x
. ./common/preamble
-_begin_fstest fsr ioctl auto
+_begin_fstest fsr ioctl auto prealloc
# Override the default cleanup function.
_cleanup()
# 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
# 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
# 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
# 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
# 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
# ->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
# 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()
# 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
# - 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
# smaller than the rt device.
#
. ./common/preamble
-_begin_fstest auto fsmap
+_begin_fstest auto fsmap prealloc punch
_cleanup()
{
# 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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()
# - 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()
# - 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
# - compare file[12]
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone prealloc
# Import common functions.
. ./common/filter
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# - 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
# Check that GETBMAPX accurately report shared extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone prealloc
_register_cleanup "_cleanup" BUS
# 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
# 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()
# 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()
# 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()
# 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()
# 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()
# 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()
# 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
# 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
# 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
# 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
# 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
# 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()
# 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
# 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
# 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
# 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
# - 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
# - 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
# - 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
# - 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
# count them if the fork is in btree format.
#
. ./common/preamble
-_begin_fstest dangerous_scrub
+_begin_fstest dangerous_scrub prealloc
_register_cleanup "_cleanup" BUS
# 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
# about the fix.
#
. ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick prealloc
_register_cleanup "_cleanup; rm -f $tmp.*"
# 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
# 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
# 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()
# 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()
# mapping.
. ./common/preamble
-_begin_fstest auto quick quota
+_begin_fstest auto quick quota prealloc
# Import common functions.
. ./common/filter
# 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
# 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
# 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
# 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
# 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