encrypt encrypted file contents
enospc ENOSPC error reporting
exportfs file handles
+fiemap fiemap ioctl
filestreams XFS filestreams allocator
freeze filesystem freeze tests
fsck general fsck tests
# We check to end up back at the original file with the correct offset.
#
. ./common/preamble
-_begin_fstest auto rw metadata
+_begin_fstest auto rw metadata fiemap
noise_pid=0
# btrfs: Fix the wrong condition judgment about subset extent map
#
. ./common/preamble
-_begin_fstest auto rw metadata
+_begin_fstest auto rw metadata fiemap
# Override the default cleanup function.
_cleanup()
# Test that both incremental and full send operations preserve file holes.
#
. ./common/preamble
-_begin_fstest auto quick send
+_begin_fstest auto quick send fiemap
# Override the default cleanup function.
_cleanup()
# commit 2e949b0a5592 ("Btrfs: fix invalid dereference in btrfs_retry_endio")
#
. ./common/preamble
-_begin_fstest auto quick read_repair
+_begin_fstest auto quick read_repair fiemap
# Import common functions.
. ./common/filter
# boundary"
#
. ./common/preamble
-_begin_fstest auto quick trim
+_begin_fstest auto quick trim fiemap
# Override the default cleanup function.
_cleanup()
# operations for extents that are shared between the same file.
#
. ./common/preamble
-_begin_fstest auto quick send clone
+_begin_fstest auto quick send clone fiemap
# Override the default cleanup function.
_cleanup()
# the NO_HOLES feature.
#
. ./common/preamble
-_begin_fstest auto quick log prealloc
+_begin_fstest auto quick log prealloc fiemap
# Override the default cleanup function.
_cleanup()
#
. ./common/preamble
-_begin_fstest auto quick defrag prealloc
+_begin_fstest auto quick defrag prealloc fiemap
# Override the default cleanup function.
# _cleanup()
# in the middle
#
. ./common/preamble
-_begin_fstest auto defrag quick
+_begin_fstest auto defrag quick fiemap
. ./common/filter
# at their max capacity.
#
. ./common/preamble
-_begin_fstest auto quick defrag
+_begin_fstest auto quick defrag fiemap
# Import common functions.
. ./common/filter
# algorithm of all regular extents.
#
. ./common/preamble
-_begin_fstest auto quick defrag compress prealloc
+_begin_fstest auto quick defrag compress prealloc fiemap
# Override the default cleanup function.
# _cleanup()
# defragmentation.
#
. ./common/preamble
-_begin_fstest auto quick defrag
+_begin_fstest auto quick defrag fiemap
# Import common functions.
. ./common/filter
# and when the file's subvolume was snapshoted.
#
. ./common/preamble
-_begin_fstest auto snapshot compress
+_begin_fstest auto snapshot compress fiemap
. ./common/filter
#
seqfull=$0
. ./common/preamble
-_begin_fstest auto prealloc quick zero
+_begin_fstest auto prealloc quick zero fiemap
# Import common functions.
. ./common/filter
# "ext4: make sure enough credits are reserved for dioread_nolock writes"
#
. ./common/preamble
-_begin_fstest auto quick quota
+_begin_fstest auto quick quota fiemap
# Import common functions.
. ./common/filter
# So if ioctl was performed twice then inode's layout should not change.
#
. ./common/preamble
-_begin_fstest auto ioctl rw prealloc quick defrag
+_begin_fstest auto ioctl rw prealloc quick defrag fiemap
PIDS=""
# just test LZ4.
. ./common/preamble
-_begin_fstest auto quick rw encrypt compress
+_begin_fstest auto quick rw encrypt compress fiemap
. ./common/filter
. ./common/f2fs
# Test fallocate FALLOC_FL_ZERO_RANGE
#
. ./common/preamble
-_begin_fstest auto quick prealloc zero
+_begin_fstest auto quick prealloc zero fiemap
# Import common functions.
. ./common/filter
# For the type of tests, check the description of _test_generic_punch
# in common/rc.
. ./common/preamble
-_begin_fstest auto quick prealloc punch collapse
+_begin_fstest auto quick prealloc punch collapse fiemap
# Import common functions.
# we need to include common/punch to get defination fo filter functions
# For the type of tests, check the description of _test_generic_punch
# in common/rc.
. ./common/preamble
-_begin_fstest auto quick prealloc punch collapse
+_begin_fstest auto quick prealloc punch collapse fiemap
# Import common functions.
# we need to include common/punch to get defination fo filter functions
# Also check for file system consistency after completing this operation
# for each blocksize.
. ./common/preamble
-_begin_fstest auto prealloc collapse
+_begin_fstest auto prealloc collapse fiemap
# Import common functions.
. ./common/filter
# For the type of tests, check the description of _test_generic_punch
# in common/rc.
. ./common/preamble
-_begin_fstest auto quick prealloc punch collapse
+_begin_fstest auto quick prealloc punch collapse fiemap
# Import common functions.
# we need to include common/punch to get defination fo filter functions
# For the type of tests, check the description of _test_generic_punch
# in common/rc.
. ./common/preamble
-_begin_fstest auto quick prealloc punch collapse
+_begin_fstest auto quick prealloc punch collapse fiemap
# Import common functions.
# we need to include common/punch to get defination fo filter functions
# are always read back as zeroes.
#
. ./common/preamble
-_begin_fstest auto quick rw
+_begin_fstest auto quick rw fiemap
# Override the default cleanup function.
_cleanup()
# Test for NULL files problem
#
. ./common/preamble
-_begin_fstest shutdown metadata log auto
+_begin_fstest shutdown metadata log auto fiemap
# Import common functions.
. ./common/filter
# Test for NULL files problem
#
. ./common/preamble
-_begin_fstest shutdown metadata log auto
+_begin_fstest shutdown metadata log auto fiemap
# Import common functions.
. ./common/filter
# Test for NULL files problem
#
. ./common/preamble
-_begin_fstest shutdown metadata log auto
+_begin_fstest shutdown metadata log auto fiemap
# Import common functions.
. ./common/filter
# Test for NULL files problem
#
. ./common/preamble
-_begin_fstest shutdown metadata log auto
+_begin_fstest shutdown metadata log auto fiemap
# Import common functions.
. ./common/filter
# test inode size is on disk after fsync
#
. ./common/preamble
-_begin_fstest shutdown metadata rw auto
+_begin_fstest shutdown metadata rw auto fiemap
# Import common functions.
. ./common/filter
# test inode size is on disk after sync
#
. ./common/preamble
-_begin_fstest shutdown metadata rw auto
+_begin_fstest shutdown metadata rw auto fiemap
# Import common functions.
. ./common/filter
# test inode size is on disk after sync - expose log replay bug
#
. ./common/preamble
-_begin_fstest shutdown metadata rw auto
+_begin_fstest shutdown metadata rw auto fiemap
# Import common functions.
. ./common/filter
# For the type of tests, check the description of _test_generic_punch
# in common/rc.
. ./common/preamble
-_begin_fstest auto quick prealloc punch insert
+_begin_fstest auto quick prealloc punch insert fiemap
# Import common functions.
# we need to include common/punch to get defination fo filter functions
# For the type of tests, check the description of _test_generic_punch
# in common/rc.
. ./common/preamble
-_begin_fstest auto quick prealloc punch insert
+_begin_fstest auto quick prealloc punch insert fiemap
# Import common functions.
# we need to include common/punch to get defination fo filter functions
# For the type of tests, check the description of _test_generic_punch
# in common/rc.
. ./common/preamble
-_begin_fstest auto quick prealloc punch insert
+_begin_fstest auto quick prealloc punch insert fiemap
# Import common functions.
# we need to include common/punch to get defination fo filter functions
# For the type of tests, check the description of _test_generic_punch
# in common/rc.
. ./common/preamble
-_begin_fstest auto quick prealloc punch insert
+_begin_fstest auto quick prealloc punch insert fiemap
# Import common functions.
# we need to include common/punch to get defination fo filter functions
# on the previously inserted ranges to test merge code of collapse
# range. Also check for data integrity and file system consistency.
. ./common/preamble
-_begin_fstest auto quick prealloc collapse insert
+_begin_fstest auto quick prealloc collapse insert fiemap
# Import common functions.
. ./common/filter
# preallocated space.
#
. ./common/preamble
-_begin_fstest auto quick prealloc
+_begin_fstest auto quick prealloc fiemap
status=0 # success is the default!
# Run the fiemap (file extent mapping) tester with preallocation enabled
#
. ./common/preamble
-_begin_fstest auto quick prealloc
+_begin_fstest auto quick prealloc fiemap
# Import common functions.
. ./common/filter
# - Modify the reflinked file
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Override the default cleanup function.
_cleanup()
# - Modify one of the copies
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Override the default cleanup function.
_cleanup()
# - Delete the original (moved) file, check that the copy still exists.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Override the default cleanup function.
_cleanup()
# This test is motivated by a bug found in btrfs.
#
. ./common/preamble
-_begin_fstest auto quick prealloc metadata punch log
+_begin_fstest auto quick prealloc metadata punch log fiemap
# Override the default cleanup function.
_cleanup()
# Run the fiemap (file extent mapping) tester
#
. ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick fiemap
# Import common functions.
. ./common/filter
# Test Generic fallocate hole punching
#
. ./common/preamble
-_begin_fstest auto quick prealloc punch
+_begin_fstest auto quick prealloc punch fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# charged for buffered copy on write.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# Test Generic fallocate hole punching w/o unwritten extent
#
. ./common/preamble
-_begin_fstest auto quick punch
+_begin_fstest auto quick punch fiemap
# Import common functions.
. ./common/filter
# charged for directio copy on write.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# Ensure that we can't go over the hard block limit when reflinking.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# Ensure that we can't go over the hard block limit when CoWing a file.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# Which btrfs will soft lock up and return wrong shared flag.
#
. ./common/preamble
-_begin_fstest auto clone
+_begin_fstest auto clone fiemap
# Import common functions.
. ./common/filter
# This caused SHARED flag only occurs after sync.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# Check that bmap/fiemap accurately report shared extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
_register_cleanup "_cleanup" BUS
# block mapping extent.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
_register_cleanup "_cleanup" BUS
# block to hold extended attributes.
#
. ./common/preamble
-_begin_fstest auto quick attr
+_begin_fstest auto quick attr fiemap
_register_cleanup "_cleanup" BUS
# Also the test used 16k holes to be compatible with 16k block filesystems
#
. ./common/preamble
-_begin_fstest broken
+_begin_fstest broken fiemap
# Import common functions.
. ./common/punch
# are placed beyond a file's size.
#
. ./common/preamble
-_begin_fstest auto quick log metadata
+_begin_fstest auto quick log metadata fiemap
# Override the default cleanup function.
_cleanup()
# - Check that nothing changes in either file
#
. ./common/preamble
-_begin_fstest auto quick dedupe clone
+_begin_fstest auto quick dedupe clone fiemap
# Override the default cleanup function.
_cleanup()
# 79b3dbe4adb3 fs: fix iomap_bmap position calculation
#
. ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick fiemap
# 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 fiemap
# 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 fiemap
# 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 fiemap
# 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 fiemap
# Import common functions.
. ./common/filter
# Make sure that we can handle multiple mmap writers to the same file.
. ./common/preamble
-_begin_fstest auto quick rw clone
+_begin_fstest auto quick rw clone fiemap
# 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 fiemap
# 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 fiemap
# Import common functions.
. ./common/filter
# after we mount the filesystem.
#
. ./common/preamble
-_begin_fstest auto quick log prealloc
+_begin_fstest auto quick log prealloc fiemap
_cleanup()
{
# space to allocate extents for the holes.
#
. ./common/preamble
-_begin_fstest auto quick prealloc
+_begin_fstest auto quick prealloc fiemap
. ./common/filter
. ./common/punch
# btrfs-progs 5.15).
#
. ./common/preamble
-_begin_fstest auto quick log punch
+_begin_fstest auto quick log punch fiemap
_cleanup()
{
# Test overlayfs copy-up function for variant sparse files.
#
. ./common/preamble
-_begin_fstest auto quick copyup
+_begin_fstest auto quick copyup fiemap
# Import common functions..
. ./common/filter
# Test that filesystem sends discard requests only on free blocks
#
. ./common/preamble
-_begin_fstest auto trim
+_begin_fstest auto trim fiemap
_supported_fs ext4 xfs btrfs
_require_test
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Ensure that whatever we set we get back later.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Repeat, but with extsz = 1MB and cowextsz = $blocksize.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# Make sure setting cowextsz on a directory propagates it to subfiles.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# otherwise.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest clone_stress
+_begin_fstest clone_stress fiemap
# Import common functions.
. ./common/filter
# - Crash the FS to test recovery.
#
. ./common/preamble
-_begin_fstest shutdown auto quick clone
+_begin_fstest shutdown auto quick clone fiemap
# Import common functions.
. ./common/filter
# play with cowextsz.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# with cowextsz.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Write more and see how bad fragmentation is.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Override the default cleanup function.
_cleanup()
# - Write more and see how bad fragmentation is.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Override the default cleanup function.
_cleanup()
# Test fallocate hole punching
#
. ./common/preamble
-_begin_fstest auto quick prealloc punch
+_begin_fstest auto quick prealloc punch fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# - Check the number of extents.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
# Import common functions.
. ./common/filter
# accounting inconsistency.
#
. ./common/preamble
-_begin_fstest auto quick ioctl fsr punch
+_begin_fstest auto quick ioctl fsr punch fiemap
# Import common functions.
. ./common/filter