metadata filesystem metadata update exercisers
metadump xfs_metadump/xfs_mdrestore functionality
mkfs filesystem formatting tools
+mmap memory mapped reads/writes
mount mount option and functionality checks
nested nested overlayfs instances
nfs4_acl NFSv4 access control lists
# only when not using the NO_HOLES feature.
#
. ./common/preamble
-_begin_fstest auto quick log
+_begin_fstest auto quick log mmap
# Override the default cleanup function.
_cleanup()
# check filesystem consistency at the end.
#
. ./common/preamble
-_begin_fstest aio dangerous enospc rw stress recoveryloop
+_begin_fstest aio dangerous enospc rw stress recoveryloop mmap
fio_config=$tmp.fio
# the block size is smaller than the page size.
#
. ./common/preamble
-_begin_fstest auto quick rw
+_begin_fstest auto quick rw mmap
# Import common functions.
. ./common/filter
# the block size is smaller than the page size.
#
. ./common/preamble
-_begin_fstest auto quick rw
+_begin_fstest auto quick rw mmap
# Import common functions.
. ./common/filter
# The fail case for this test is a hang on an xfs_freeze.
#
. ./common/preamble
-_begin_fstest other auto freeze stress
+_begin_fstest other auto freeze stress mmap
status=0 # success is the default!
# fstest
#
. ./common/preamble
-_begin_fstest rw udf auto
+_begin_fstest rw udf auto mmap
fstest_dir=$TEST_DIR/fstest
status=0 # success is the default!
# Verify that mtime is updated when writing to mmap-ed pages
#
. ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick mmap
status=0
# Concurrent mixed I/O (buffer I/O, aiodio, mmap, splice) on the same files
#
. ./common/preamble
-_begin_fstest auto quick rw stress
+_begin_fstest auto quick rw stress mmap
# Import common functions.
. ./common/filter
# - fsx_15_std_mmap
#
. ./common/preamble
-_begin_fstest rw auto
+_begin_fstest rw auto mmap
# 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 mmap
# Override the default cleanup function.
_cleanup()
# Test for xfs_io mmap read problem
#
. ./common/preamble
-_begin_fstest rw auto quick
+_begin_fstest rw auto quick mmap
# Import common functions.
. ./common/filter
# while copy-on-writing the file via mmap.
#
. ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone mmap
# Override the default cleanup function.
_cleanup()
# Based on the testcase in http://bugzilla.kernel.org/show_bug.cgi?id=2645
#
. ./common/preamble
-_begin_fstest auto metadata quick
+_begin_fstest auto metadata quick mmap
# Override the default cleanup function.
_cleanup()
# Simple quota accounting test for direct/buffered/mmap IO.
#
. ./common/preamble
-_begin_fstest auto quota quick
+_begin_fstest auto quota quick mmap
# Import common functions.
. ./common/filter
# Marius Tolzmann <tolzmann@molgen.mpg.de>
#
. ./common/preamble
-_begin_fstest auto quick rw
+_begin_fstest auto quick rw mmap
# Import common functions.
. ./common/filter
# Test for race between direct I/O and mmap
#
. ./common/preamble
-_begin_fstest auto quick rw
+_begin_fstest auto quick rw mmap
_register_cleanup "_cleanup" BUS
# Test for pwrite hang problem when writing from mmaped buffer of the same page
#
. ./common/preamble
-_begin_fstest auto quick rw
+_begin_fstest auto quick rw mmap
# Override the default cleanup function.
_cleanup()
# Test mmap CoW behavior when the write temporarily fails.
#
. ./common/preamble
-_begin_fstest auto quick clone eio
+_begin_fstest auto quick clone eio mmap
# Override the default cleanup function.
_cleanup()
# Test mmap CoW behavior when the write permanently fails.
#
. ./common/preamble
-_begin_fstest auto quick clone eio
+_begin_fstest auto quick clone eio mmap
# Override the default cleanup function.
_cleanup()
# Test mmap CoW behavior when the write temporarily fails and we unmount.
#
. ./common/preamble
-_begin_fstest auto quick clone eio
+_begin_fstest auto quick clone eio mmap
# Override the default cleanup function.
_cleanup()
# program writes again.
#
. ./common/preamble
-_begin_fstest auto quick clone eio
+_begin_fstest auto quick clone eio mmap
# Override the default cleanup function.
_cleanup()
# Btrfs: fix fsync data loss after a ranged fsync
#
. ./common/preamble
-_begin_fstest auto quick data log
+_begin_fstest auto quick data log mmap
# Override the default cleanup function.
_cleanup()
# Test mmap writing races from racing threads
#
. ./common/preamble
-_begin_fstest auto
+_begin_fstest auto mmap
# get standard environment and checks
# Test races between mmap and buffered writes when pages are prefaulted.
#
. ./common/preamble
-_begin_fstest auto
+_begin_fstest auto mmap
# get standard environment and checks
# Test races between mmap from racing processes with and without prefaulting.
#
. ./common/preamble
-_begin_fstest auto
+_begin_fstest auto mmap
# get standard environment and checks
# Test races between mmap and normal writes from racing threads
#
. ./common/preamble
-_begin_fstest auto quick rw
+_begin_fstest auto quick rw mmap
# get standard environment and checks
# mmap direct/buffered io between DAX and non-DAX mountpoints.
#
. ./common/preamble
-_begin_fstest auto quick dax prealloc
+_begin_fstest auto quick dax prealloc mmap
# Import common functions.
. ./common/filter
# created by Ross Zwisler <ross.zwisler@linux.intel.com>
#
. ./common/preamble
-_begin_fstest auto quick dax
+_begin_fstest auto quick dax mmap
# Import common functions.
. ./common/filter
# created by Ross Zwisler <ross.zwisler@linux.intel.com>
#
. ./common/preamble
-_begin_fstest auto quick dax
+_begin_fstest auto quick dax mmap
# Import common functions.
. ./common/filter
# Based on test program by Michael Zimmer <michael@swarm64.com>
#
. ./common/preamble
-_begin_fstest auto
+_begin_fstest auto mmap
# Override the default cleanup function.
_cleanup()
# will trigger a BUG_ON().
#
. ./common/preamble
-_begin_fstest auto quick rw punch
+_begin_fstest auto quick rw punch mmap
# get standard environment and checks
. ./common/filter
# which is configured in "memory mode", not in "raw mode".
#
. ./common/preamble
-_begin_fstest auto quick dax
+_begin_fstest auto quick dax mmap
# Import common functions.
. ./common/filter
# the bug on XFS.
#
. ./common/preamble
-_begin_fstest auto quick punch zero prealloc
+_begin_fstest auto quick punch zero prealloc mmap
file=$TEST_DIR/$seq.fsx
# page faults.
#
. ./common/preamble
-_begin_fstest auto quick dax
+_begin_fstest auto quick dax mmap
# Override the default cleanup function.
_cleanup()
# eof to return nonzero contents.
#
. ./common/preamble
-_begin_fstest auto quick rw collapse zero prealloc
+_begin_fstest auto quick rw collapse zero prealloc mmap
# 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 prealloc
+_begin_fstest auto quick dax punch collapse zero prealloc mmap
# Import common functions.
. ./common/filter
# eof to return nonzero contents.
#
. ./common/preamble
-_begin_fstest auto quick rw zero prealloc
+_begin_fstest auto quick rw zero prealloc mmap
# Import common functions.
. ./common/punch
# (generic/029 is a similar test but for truncate.)
#
. ./common/preamble
-_begin_fstest auto quick rw punch
+_begin_fstest auto quick rw punch mmap
# Import common functions.
. ./common/filter
# Check that we can't modify a file that's an active swap file.
. ./common/preamble
-_begin_fstest auto quick rw swap prealloc
+_begin_fstest auto quick rw swap prealloc mmap
# Override the default cleanup function.
_cleanup()
# Check that we can't modify a block device that's an active swap device.
. ./common/preamble
-_begin_fstest auto quick rw swap
+_begin_fstest auto quick rw swap mmap
# Override the default cleanup function.
_cleanup()
# part of the contents is later read by any means.
#
. ./common/preamble
-_begin_fstest auto quick verity
+_begin_fstest auto quick verity mmap
# Override the default cleanup function.
_cleanup()
# Make sure that we can handle multiple mmap writers to the same file.
. ./common/preamble
-_begin_fstest auto quick rw clone fiemap
+_begin_fstest auto quick rw clone fiemap mmap
# Override the default cleanup function.
_cleanup()
# Test per-inode DAX flag by mmap direct/buffered IO.
#
. ./common/preamble
-_begin_fstest auto attr quick dax prealloc
+_begin_fstest auto attr quick dax prealloc mmap
# Import common functions.
. ./common/filter
# stat(2) reports a non-zero number of used blocks.
#
. ./common/preamble
-_begin_fstest auto quick rw
+_begin_fstest auto quick rw mmap
# Import common functions.
. ./common/filter
# Test a write fault scenario on a shutdown fs.
#
. ./common/preamble
-_begin_fstest auto quick shutdown
+_begin_fstest auto quick shutdown mmap
. ./common/filter
# are identical and we can therefore go ahead with the remapping.
. ./common/preamble
-_begin_fstest auto quick rw dedupe clone
+_begin_fstest auto quick rw dedupe clone mmap
# Import common functions.
. ./common/reflink
# 4f06dd92b5d0 ("fuse: fix write deadlock")
#
. ./common/preamble
-_begin_fstest auto quick rw
+_begin_fstest auto quick rw mmap
# Import common functions.
. ./common/filter
# Trigger page faults in the same file during read and write
#
. ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick mmap
# 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 mmap
# Import common functions.
. ./common/filter
# the golden output; we can only compare to a check file.
#
. ./common/preamble
-_begin_fstest auto quick clone prealloc
+_begin_fstest auto quick clone prealloc mmap
# Import common functions.
. ./common/filter
# the golden output; we can only compare to a check file.
#
. ./common/preamble
-_begin_fstest auto quick clone prealloc
+_begin_fstest auto quick clone prealloc mmap
# Import common functions.
. ./common/filter
# the golden output; we can only compare to a check file.
#
. ./common/preamble
-_begin_fstest auto quick clone fiemap prealloc
+_begin_fstest auto quick clone fiemap prealloc mmap
# Import common functions.
. ./common/filter
# the golden output; we can only compare to a check file.
#
. ./common/preamble
-_begin_fstest auto quick clone fiemap prealloc
+_begin_fstest auto quick clone fiemap prealloc mmap
# 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 mmap
# 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 prealloc
+_begin_fstest auto quick clone prealloc mmap
# 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 prealloc
+_begin_fstest auto quick clone prealloc mmap
# 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 prealloc
+_begin_fstest auto quick clone prealloc mmap
# 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 prealloc
+_begin_fstest auto quick clone prealloc mmap
# 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 prealloc
+_begin_fstest auto quick clone punch prealloc mmap
# 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 prealloc
+_begin_fstest auto quick clone prealloc mmap
# 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 prealloc
+_begin_fstest auto quick clone prealloc mmap
# 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 prealloc
+_begin_fstest auto quick clone prealloc mmap
# 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 prealloc
+_begin_fstest auto quick clone prealloc mmap
# 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 prealloc
+_begin_fstest auto quick clone punch prealloc mmap
# Import common functions.
. ./common/filter
# target file. (MMAP version of generic/164,165)
#
. ./common/preamble
-_begin_fstest auto clone
+_begin_fstest auto clone mmap
_register_cleanup "_cleanup" BUS
# the source of a reflink operation. (MMAP version of generic/167,166)
#
. ./common/preamble
-_begin_fstest auto clone
+_begin_fstest auto clone mmap
_register_cleanup "_cleanup" BUS
# the target of a reflink operation. (MMAP version of generic/168,170)
#
. ./common/preamble
-_begin_fstest auto clone
+_begin_fstest auto clone mmap
_register_cleanup "_cleanup" BUS
# thus the iomap direct_io partial write codepath.
#
. ./common/preamble
-_begin_fstest quick auto
+_begin_fstest quick auto mmap
+
[ $FSTYP == "btrfs" ] && \
_fixed_by_kernel_commit b73a6fd1b1ef \
"btrfs: split partial dio bios before submit"
# with page faults disabled will never make any progress.
#
. ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick mmap
# Override the default cleanup function.
_cleanup()
# result in a deadlock if we page faulted.
#
. ./common/preamble
-_begin_fstest quick auto fiemap
+_begin_fstest quick auto fiemap mmap
+
[ $FSTYP == "btrfs" ] && \
_fixed_by_kernel_commit b0ad381fa769 \
"btrfs: fix deadlock with fiemap and extent locking"
# MADV_POPULATE_READ on the mapping to fault in the pages.
#
. ./common/preamble
-_begin_fstest auto rw eio
+_begin_fstest auto rw eio mmap
# Override the default cleanup function.
_cleanup()
# boundary and ensures we get a SIGBUS if we write to data beyond the system
# page size even if the block size is greater than the system page size.
. ./common/preamble
-_begin_fstest auto quick prealloc
+_begin_fstest auto quick prealloc mmap
# Import common functions.
. ./common/filter
# (generic/567 is a similar test but for punch hole.)
#
. ./common/preamble
-_begin_fstest auto quick rw zero
+_begin_fstest auto quick rw zero mmap
# Import common functions.
. ./common/filter
# - process A reads old data from shared mmap
#
. ./common/preamble
-_begin_fstest posix copyup
+_begin_fstest posix copyup mmap
# Import common functions.
. ./common/filter
# Exercise IO on the realtime device (direct, buffered, mmapd)
#
. ./common/preamble
-_begin_fstest rw auto realtime
+_begin_fstest rw auto realtime mmap
# Import common functions.
. ./common/filter
# Simple quota accounting test for direct/buffered/mmap IO.
#
. ./common/preamble
-_begin_fstest quota auto quick
+_begin_fstest quota auto quick mmap
# Import common functions.
. ./common/filter
# ->page-mkwrite test - unwritten extents and mmap
#
. ./common/preamble
-_begin_fstest rw metadata auto quick prealloc
+_begin_fstest rw metadata auto quick prealloc mmap
# Import common functions.
. ./common/filter
# Test mapping around/over holes for sub-page blocks
#
. ./common/preamble
-_begin_fstest rw auto
+_begin_fstest rw auto mmap
# Override the default cleanup function.
_cleanup()
# Test memory failure mechanism when dax enabled
#
. ./common/preamble
-_begin_fstest auto quick dax
+_begin_fstest auto quick dax mmap
# Import common functions.
. ./common/filter
# Test memory failure mechanism when dax and reflink working together
#
. ./common/preamble
-_begin_fstest auto quick clone dax
+_begin_fstest auto quick clone dax mmap
# Import common functions.
. ./common/filter
# test for partly reflinked file
#
. ./common/preamble
-_begin_fstest auto quick clone dax
+_begin_fstest auto quick clone dax mmap
# Import common functions.
. ./common/filter
# buffered write routines.
#
. ./common/preamble
-_begin_fstest auto quick rw
+_begin_fstest auto quick rw mmap
# Import common functions.
. ./common/inject