]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
fstests: add fiemap group
authorFilipe Manana <fdmanana@suse.com>
Fri, 7 Oct 2022 13:53:36 +0000 (14:53 +0100)
committerZorro Lang <zlang@kernel.org>
Sat, 15 Oct 2022 04:39:38 +0000 (12:39 +0800)
Add a fiemap group for all tests that exercise fiemap, either directly
through xfs_io, or more indirectly like through filefrag or helpers in
common/* (like _count_extents, _count_holes, etc). This is useful in
order to quickly test changes made to the fiemap implementation of a
filesystem for example.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
97 files changed:
doc/group-names.txt
tests/btrfs/004
tests/btrfs/079
tests/btrfs/137
tests/btrfs/140
tests/btrfs/199
tests/btrfs/200
tests/btrfs/211
tests/btrfs/257
tests/btrfs/258
tests/btrfs/259
tests/btrfs/260
tests/btrfs/263
tests/btrfs/276
tests/ext4/001
tests/ext4/034
tests/ext4/308
tests/f2fs/002
tests/generic/009
tests/generic/012
tests/generic/016
tests/generic/017
tests/generic/021
tests/generic/022
tests/generic/032
tests/generic/043
tests/generic/044
tests/generic/045
tests/generic/046
tests/generic/047
tests/generic/048
tests/generic/049
tests/generic/058
tests/generic/060
tests/generic/061
tests/generic/063
tests/generic/064
tests/generic/092
tests/generic/094
tests/generic/110
tests/generic/111
tests/generic/115
tests/generic/177
tests/generic/225
tests/generic/255
tests/generic/301
tests/generic/302
tests/generic/305
tests/generic/316
tests/generic/326
tests/generic/327
tests/generic/328
tests/generic/352
tests/generic/353
tests/generic/372
tests/generic/414
tests/generic/425
tests/generic/473
tests/generic/483
tests/generic/516
tests/generic/519
tests/generic/540
tests/generic/541
tests/generic/542
tests/generic/543
tests/generic/578
tests/generic/654
tests/generic/655
tests/generic/677
tests/generic/679
tests/generic/695
tests/overlay/066
tests/shared/298
tests/xfs/180
tests/xfs/182
tests/xfs/184
tests/xfs/192
tests/xfs/193
tests/xfs/198
tests/xfs/200
tests/xfs/204
tests/xfs/207
tests/xfs/208
tests/xfs/209
tests/xfs/210
tests/xfs/211
tests/xfs/212
tests/xfs/213
tests/xfs/214
tests/xfs/231
tests/xfs/232
tests/xfs/252
tests/xfs/344
tests/xfs/345
tests/xfs/346
tests/xfs/347
tests/xfs/443

index ef411b5e3613e974b21f4ee427fcd09fae759fc4..6cc9af78444151a50c15977edc63312b35780ee2 100644 (file)
@@ -47,6 +47,7 @@ eio                   IO error reporting
 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
index 4e767a2f0c43a8f23805a12904d1d124a592b928..aa37c45ddb3d727d2d0bbd9e1920b2abed94d33d 100755 (executable)
@@ -10,7 +10,7 @@
 # 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
 
index 1acd1855f4b94ab71bc93a08d823ad716f6cffab..92d5947926d1c875aef8191b0c9f18ec6005f367 100755 (executable)
@@ -18,7 +18,7 @@
 # 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()
index 64ed2450d30f649527d28c16ab6216255640f110..7d03c2602bacf72c2d2b7033fa9114094e325d69 100755 (executable)
@@ -7,7 +7,7 @@
 # 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()
index fdff6eb2cfd93d5f34a383a849552a8fb52c681e..247a7356b275ddfeb58cc33d2ff1e7d3a7ee42a5 100755 (executable)
@@ -12,7 +12,7 @@
 #      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
index 2024447c0a0c6dada30926d76fbcd420e97efc14..709ad1f988c3d2cfe81a231bf26e0ac1dafab705 100755 (executable)
@@ -16,7 +16,7 @@
 # boundary"
 #
 . ./common/preamble
-_begin_fstest auto quick trim
+_begin_fstest auto quick trim fiemap
 
 # Override the default cleanup function.
 _cleanup()
index 48cd7046760216812f96f8b633048109b44da341..5ce3775f2222f901e86f9e018db55ec8e8fa1c2d 100755 (executable)
@@ -8,7 +8,7 @@
 # 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()
index 60ef3d1bfc4baf0641a2a9bd52d425a46d80de2a..f5744b75f4e840ad61cad300df6c4a4a1e228907 100755 (executable)
@@ -10,7 +10,7 @@
 # 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()
index 87f9e0b220b3cca4c09222357e0cae30426d9c91..f8e69f7a6a56ed114359ed3230036e1262ff68a5 100755 (executable)
@@ -9,7 +9,7 @@
 #
 
 . ./common/preamble
-_begin_fstest auto quick defrag prealloc
+_begin_fstest auto quick defrag prealloc fiemap
 
 # Override the default cleanup function.
 # _cleanup()
index be61d03950f8f32edeee46b4b5482c93df0357ef..e4a23dcc4e7fc5f8e3cdfab3144623ea2e06fa90 100755 (executable)
@@ -8,7 +8,7 @@
 # in the middle
 #
 . ./common/preamble
-_begin_fstest auto defrag quick
+_begin_fstest auto defrag quick fiemap
 
 . ./common/filter
 
index 36f499f917bb57e2513c925187e4992e03d59328..cbbea9f527f5bf5d6b04cd758e790e6ab7b22b73 100755 (executable)
@@ -8,7 +8,7 @@
 # at their max capacity.
 #
 . ./common/preamble
-_begin_fstest auto quick defrag
+_begin_fstest auto quick defrag fiemap
 
 # Import common functions.
 . ./common/filter
index 8042ec4df15f0c94c7ab207d9ccc2c0ac228725d..111a3bd6127c69a3af707009f5c31b9bebc1188e 100755 (executable)
@@ -8,7 +8,7 @@
 # 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()
index d201f14e9e87ea9d465c7575521732e76a46bb73..8ff363d15049fc2596700f9b2ca18ba00703e016 100755 (executable)
@@ -8,7 +8,7 @@
 # defragmentation.
 #
 . ./common/preamble
-_begin_fstest auto quick defrag
+_begin_fstest auto quick defrag fiemap
 
 # Import common functions.
 . ./common/filter
index c27e8383cde6be4c691adc23306b2f8d6c25ef4b..944b0c8f80566490697244be3d2725830d777b84 100755 (executable)
@@ -9,7 +9,7 @@
 # and when the file's subvolume was snapshoted.
 #
 . ./common/preamble
-_begin_fstest auto snapshot compress
+_begin_fstest auto snapshot compress fiemap
 
 . ./common/filter
 
index f1d1e829f7a104fe567de971b1c43944481af252..f865036528fe4decb906de2dfb9ba7b1e7bb1859 100755 (executable)
@@ -8,7 +8,7 @@
 #
 seqfull=$0
 . ./common/preamble
-_begin_fstest auto prealloc quick zero
+_begin_fstest auto prealloc quick zero fiemap
 
 # Import common functions.
 . ./common/filter
index 223c964fe72a9a083ccc4e62c4f7289fc27df7eb..bf7466d43047912fc268a72288936db636bf88d8 100755 (executable)
@@ -11,7 +11,7 @@
 # "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
index b88ea056c7934bcccad3da43abf28d7605fb6999..849ebdf89133448bc35d145d49da2f3cbc23defe 100755 (executable)
@@ -9,7 +9,7 @@
 # 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=""
 
index 59ca2a2dcd5002be89d9a9cf2bb3c20a69228eab..8235d88aeb6210c33116d6d797beb141c001b842 100755 (executable)
@@ -40,7 +40,7 @@
 # just test LZ4.
 
 . ./common/preamble
-_begin_fstest auto quick rw encrypt compress
+_begin_fstest auto quick rw encrypt compress fiemap
 
 . ./common/filter
 . ./common/f2fs
index 3b362943d27079324dd0b5cad6a64658edc4f36f..7c9b137f615db6200d2017cbdff12588e9ada00f 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index 4b3c69f41d19e2b3df434b505d2edbd6a51ad26e..74e7a02bff8887deb7a9db7ca5a342ffc482ce69 100755 (executable)
@@ -11,7 +11,7 @@
 # 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
index 59cb8085b75122d5f60c457dd88d1d997770fe53..833e91618d941d9172eb16d48aa1c40795e79522 100755 (executable)
@@ -11,7 +11,7 @@
 # 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
index 12c486d14b70aacac8d0154410c9a041b909404c..5f0d85139e5b0a63c836965d91f3feaa6d6276aa 100755 (executable)
@@ -10,7 +10,7 @@
 # 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
index 7407bf03e5b88dbdcf92cc34de548f37587f80c3..532feeeb7e5b0186279b27954955343448ddc4b2 100755 (executable)
@@ -11,7 +11,7 @@
 # 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
index b983c5d0603fec215bca9ebab242bd1020ed4107..62577b81084d0ec2f1244c563402e1bc66e864e3 100755 (executable)
@@ -11,7 +11,7 @@
 # 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
index 3302c1eebe916357cac861153add2acd0c811c1e..90ff0773c1fe91f72bb3bc8a752401fda3332d80 100755 (executable)
@@ -11,7 +11,7 @@
 # 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()
index b1432e258a8de4bfece4d9d216a343f9d4fe6cba..d5ca438a807afd1027e93452e62b64a57dc272eb 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index 56c50548c91fa63bf0eacfa8cdf81ee9831c66ab..a5d3e9edc546f1704ede5ce7665cc8f2468d5230 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index f5f36a7a08a03830cf1a877836713fee7667c086..dfbcaeb42cca943ee19a36f8ae7bd5e86fb586ec 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index 5dbb8fa5b6440565a3eb3639ba572170bbf8adcc..29165e4509d9966d4e1b2e3b0c61084d53ce8093 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index 770e7f1b102164d7530f3be2253dea3f25e3e8a8..61590e9b53ee3b0e9e9eca50f73261cfd39f8ae0 100755 (executable)
@@ -8,7 +8,7 @@
 # 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
index 10c87f3b2a35a458c82c348acd0e05011779e227..ebe9132e50370ca95a33226aab9ded8c104463c8 100755 (executable)
@@ -8,7 +8,7 @@
 # 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
index 4effc4a64e56d65537542ab4ce74b39cbf26a9a3..e5c5a0e3078f1e35678e03a482af096ce14492ab 100755 (executable)
@@ -8,7 +8,7 @@
 # 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
index cb685ffb448082d71abc5939a173d7995d2cff81..dddadbe08703572ca46fd8d90adf8e6fe75c8403 100755 (executable)
@@ -11,7 +11,7 @@
 # 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
index 0fd4278519011c85eaa97b1f881e1b21fa7ab6d4..3a890ed03d15c2ff55941fa8d43d1de05ae8fbd0 100755 (executable)
@@ -11,7 +11,7 @@
 # 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
index c4998b938611da94f55299b393388014bd35b9ea..e370ffdfb8fd1528871ae97d8624bea99dbed144 100755 (executable)
@@ -11,7 +11,7 @@
 # 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
index 60a5f242dbb90ce826fa76b6b998651524e62878..3974647b9e151cd6f4f85989fddc4cf92afdd493 100755 (executable)
@@ -11,7 +11,7 @@
 # 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
index 3b32fa1bbe91502aa3b4e1da6b0a1ca6002abf61..b50c55e7ee78a8a5165b72d6599511998f836d32 100755 (executable)
@@ -10,7 +10,7 @@
 # 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
index d7c93ca792f52abfbff759d9dfd91bf6ae6e6dff..bdd8feddf0794f98a7b718a20d92db49ae29cc01 100755 (executable)
@@ -12,7 +12,7 @@
 # preallocated space.
 #
 . ./common/preamble
-_begin_fstest auto quick prealloc
+_begin_fstest auto quick prealloc fiemap
 
 status=0       # success is the default!
 
index 7a078a88dc4539b4b8995e473af7e2c8589d0f67..5c12b7310a3786ce8175ab246d0e49c9526c0c6a 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index 5d6d6ecb969995a879bbe0318b03913b8a66ccba..ef5ac5f6d53dabcd810e7495b2abda3ea3642c59 100755 (executable)
@@ -11,7 +11,7 @@
 #   - Modify the reflinked file
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Override the default cleanup function.
 _cleanup()
index 3e376096f1cd8118c43e2c2208e1869610b34432..5df0fa80c8bf0e9b0784be375684ab0f0444f51c 100755 (executable)
@@ -12,7 +12,7 @@
 #   - Modify one of the copies
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Override the default cleanup function.
 _cleanup()
index daaca523723a258ff0ffd0357357f38827472b33..13d4b537308fe06347e845695d681248a92a784d 100755 (executable)
@@ -10,7 +10,7 @@
 #   - 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()
index 8ad3f9662134a56e17ef85d6e6917fa44303aa3e..ff55a79f97263a303dbe775288b447fc6cb35bae 100755 (executable)
@@ -11,7 +11,7 @@
 # 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()
index 26156c9b7fd8d10f7c52c338d557ecf3f54d5825..d96382996ec5f9eac5453e1fce29b2810217f5fe 100755 (executable)
@@ -7,7 +7,7 @@
 # Run the fiemap (file extent mapping) tester
 #
 . ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick fiemap
 
 # Import common functions.
 . ./common/filter
index 307d5287d9ba6d1e98aa5f94ab88545615167194..39efb6b2ae29dc7ef639cfeb8f664b33ada74d6a 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index faf982f5c0b1760738ed30b8644189b21b1a61bb..3f895ff8e52162eacd796c57fdfe71a6ebaf32f2 100755 (executable)
@@ -10,7 +10,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 011776024e6f3e417f878d4e867401652ca39942..9c305abedc4c47c98ec0148c42e47dcf956177f0 100755 (executable)
@@ -10,7 +10,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 3b0ff698a2f71f843910078b6d92142b8f7c6d8b..b46d512742edf0607aa6085df4b0929cb699c14d 100755 (executable)
@@ -8,7 +8,7 @@
 # charged for buffered copy on write.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 5bc9c1d955fbccf1645a96d59717c5c070ad7ae8..5b8901260b7543aa5b786fde245eb1998fd149f2 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index 3e9332ac4cc3ae961f43890edde6dc5d1c10a89c..f5c557b3a08abc41e1e27d8bc03f894e3053a114 100755 (executable)
@@ -8,7 +8,7 @@
 # charged for directio copy on write.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 95a2246116964d8f45006c19fd7b20888d67b7dc..92540b19dd8769bc7a9aaffc786c603f113baf66 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index 2b589211e5f2ee96f4848c0d520f34205fa39beb..db7fd3db412d99712285a61f6af511746b6a8ff7 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index 608c6c814639d7a359299d4acb9a329908840626..52ec485074337720137a652f7d3fb59dbcbe8ea8 100755 (executable)
@@ -11,7 +11,7 @@
 # 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
index 1ce6ce6dd3fe1bfb119d61f4836a3b87341660ee..9a1471bd8156646ccf1f6027fe2db43935589147 100755 (executable)
@@ -12,7 +12,7 @@
 # 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
index b649f590f0f14c3b933a07fe698b868b8582e976..ca50ae399ff57e2747dcaa21746bb818f33dd5c8 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
 
index 6416216ddd6412c0145df663849d9957608fe402..f2d63c17d1be8259fb6e10a9d00029a7089a6930 100755 (executable)
@@ -8,7 +8,7 @@
 # block mapping extent.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 _register_cleanup "_cleanup" BUS
 
index 13a76563517c31469ccd478d59beb5540dc239dc..b43294f928053d8044cb0501f8c812f893a26ff5 100755 (executable)
@@ -8,7 +8,7 @@
 # block to hold extended attributes.
 #
 . ./common/preamble
-_begin_fstest auto quick attr
+_begin_fstest auto quick attr fiemap
 
 _register_cleanup "_cleanup" BUS
 
index 892417707feabc225574fbb2af8c9b05608a1b38..125b95183ea7746159b3c5e1ce44fef4fb1bbac9 100755 (executable)
@@ -9,7 +9,7 @@
 # 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
index 39129542d0211b4d0a325443c492c020260c69ca..8a8a6f24c65230fb95b938f03446dcf2af89fc7d 100755 (executable)
@@ -8,7 +8,7 @@
 # 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()
index e846ee241314f078f8394a6f3fb12ccdb22d3bb7..47af6237e10a5968b16115fd9891a908f396e4f5 100755 (executable)
@@ -9,7 +9,7 @@
 #   - 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()
index 28747c218c00abee7f20aa2739b1a59f8a924d43..0839c6b856e8d52e338f4710fdd380ce36b5338a 100755 (executable)
@@ -8,7 +8,7 @@
 # 79b3dbe4adb3 fs: fix iomap_bmap position calculation
 #
 . ./common/preamble
-_begin_fstest auto quick
+_begin_fstest auto quick fiemap
 
 # Import common functions.
 . ./common/filter
index da36939a8a455530a3b512b406b46e702ccad5fe..8c66b572ab737a901f902ebdfc5be11afc2ed1b1 100755 (executable)
@@ -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 fiemap
 
 # Import common functions.
 . ./common/filter
index a0f6cae338335853686d70f721d16dad85dd4527..227c45e1f04879aef0c172bcfc78a123d2a1e381 100755 (executable)
@@ -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 fiemap
 
 # Import common functions.
 . ./common/filter
index 530fb8e02870fbcfcef72cd8c40c1f1bcd940f75..7b413d6d3a920d0667cda20d712a6c7647d72073 100755 (executable)
@@ -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 fiemap
 
 # Import common functions.
 . ./common/filter
index 1dad37fbe8291f1f1674cf4696fb73e4e4d701aa..66f46e92d6df082714bbb15177f329a51f64b1db 100755 (executable)
@@ -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 fiemap
 
 # Import common functions.
 . ./common/filter
index d04cacb43972a3f916c15f2df2bb08f1e3f404a3..b024f6ff90b436a1b0b66dad51ba3eb1f40c1d2d 100755 (executable)
@@ -7,7 +7,7 @@
 # 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()
index da7eaf4d05df54469f590b84c4463e9e6129a69c..45ed19de52b2f6c3c1a9c586c60eb7f2d8ee4d1c 100755 (executable)
@@ -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 fiemap
 
 # Import common functions.
 . ./common/filter
index ec8366e3a1388275ab3dc0671c16ce60f57f93b5..8106d15c14aa2319f9941d130a6c180ace1a153f 100755 (executable)
@@ -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 fiemap
 
 # Import common functions.
 . ./common/filter
index 4dbfed7dc0ed55c37d0d35f44a8425c44aeb8747..84146c5e04ece49290c930241d01586195a01790 100755 (executable)
@@ -9,7 +9,7 @@
 # after we mount the filesystem.
 #
 . ./common/preamble
-_begin_fstest auto quick log prealloc
+_begin_fstest auto quick log prealloc fiemap
 
 _cleanup()
 {
index a0094e4878ac287bf096f55a204baec1921d8c5a..ddf975a2cf864a8aa6bc0f3099341dad8532e94f 100755 (executable)
@@ -9,7 +9,7 @@
 # space to allocate extents for the holes.
 #
 . ./common/preamble
-_begin_fstest auto quick prealloc
+_begin_fstest auto quick prealloc fiemap
 
 . ./common/filter
 . ./common/punch
index b46e35cf86b35b901b1b5096f114f3bf879e6d9f..d53457dce16da6ad83b0d13732a6874411d46ecd 100755 (executable)
@@ -12,7 +12,7 @@
 # btrfs-progs 5.15).
 #
 . ./common/preamble
-_begin_fstest auto quick log punch
+_begin_fstest auto quick log punch fiemap
 
 _cleanup()
 {
index 163e74f1c64014a63ff7e8a74db34d0ce09805ba..5b9f7b186540dd5161ea1029ac210fc82a43eb6e 100755 (executable)
@@ -8,7 +8,7 @@
 # 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
index bd52b6a0cf78788d76f1f70bbb29a07fff7d0187..807d4c87876bfc04b2cd79430c8828b637b987ed 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index 9b52f1ffbcdbce2066732664e815ea4a5978267a..cfea2020ce13c908f098563a3c895ffeabee8437 100755 (executable)
@@ -11,7 +11,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 938522295fa92eb893ab2e9e7e60e099c0844f2b..ec3f7dc026dbad9ababfe3177049c54c2fd9faa8 100755 (executable)
@@ -11,7 +11,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 2ca6528e451aa03e26c2a207d29c63c591cf7019..e6f083f0f3b151d752d7b4749bbb379771ea6af6 100755 (executable)
@@ -11,7 +11,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 8329604dbbc3e5a6c33bc925a27b4ed09d657b77..a4a33bc707502ab850dd409c9d7a64939caced20 100755 (executable)
@@ -11,7 +11,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 18f2fc2f409fbc20ba2358da3b42a885860e921b..c71aef354737ea16d52170bac99a02f423ab2502 100755 (executable)
@@ -10,7 +10,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 231e1c2383ece5e1d7e910db75d358be4bcfadb8..c61fbab70d0e70e7b643ddab591406efc4925a75 100755 (executable)
@@ -10,7 +10,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 435cd9b917504830639d94414e373ebac0be91b3..eb0121e3c8145d29b270d0c17c438eaaa950e672 100755 (executable)
@@ -13,7 +13,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 3f9b6dcab9001eadd40eb5a044824786f119d64b..c62ad9805718931ea05d0b06cd4a1618c28aa181 100755 (executable)
@@ -13,7 +13,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index ba07f1ee86cc0c2535cfc33a7a8fcd88d309eb8b..4bdafd2610172d172cfd797a65c61da71f512b75 100755 (executable)
@@ -10,7 +10,7 @@
 # - 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
index 0fbb99c8fa16aa70bdad74169ad3374b90cd3622..9a71b74f6f26f6e2e401b15557c9c17bed17c4b7 100755 (executable)
@@ -14,7 +14,7 @@
 # - 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
index 08ec87f563097cf7fa532127c6704c30c2d91238..1ef6d33d88e87f2bdee96feb139d07188f1e2986 100755 (executable)
@@ -7,7 +7,7 @@
 # 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
index 2439967b6d0b3e4285e5f0cfb642a749c9647730..5f05ab26f88c2e898d2c5387f3ff73d797962be7 100755 (executable)
@@ -11,7 +11,7 @@
 # otherwise.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index b99871ba543b5225b00a92503ad0411f300a4cfd..96c0b85b147ab91e80cfcb36c6f05d80ece073a5 100755 (executable)
@@ -11,7 +11,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest clone_stress
+_begin_fstest clone_stress fiemap
 
 # Import common functions.
 . ./common/filter
index 805a72af5c41b6ea603221e2c349a99c951a2f0a..6df036089d7f11280c9970c92ed930f6c9757656 100755 (executable)
@@ -10,7 +10,7 @@
 # - 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
index 3e1c45cdad34e09688b690bf96e86d21b2060c82..e1849624525c689f24e5c424b5335b71de2729b4 100755 (executable)
@@ -9,7 +9,7 @@
 # play with cowextsz.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 7c694e92f9b2dc599b829ba829ed2654b5ec4003..84ba838f3a0ebebba51bfd6bd1a24afc5b62d8f9 100755 (executable)
@@ -9,7 +9,7 @@
 # with cowextsz.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index fd7d7a85d0ad389ca6070c098716b02e90236dbc..de8a7ca9d923fb301c65340e996dcbd56db97891 100755 (executable)
@@ -12,7 +12,7 @@
 # - 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()
index 0bf3bb757cfe5f356c3f4ef1aad717157e39146d..5ca1a9f166f5bd6705822c0d2903c62c8d9d8f8a 100755 (executable)
@@ -13,7 +13,7 @@
 # - 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()
index 43740cb4b748e68a55db490502c259a61bde7297..f167fd5a4e812b822541f8372746e683e33cf5f2 100755 (executable)
@@ -7,7 +7,7 @@
 # Test fallocate hole punching
 #
 . ./common/preamble
-_begin_fstest auto quick prealloc punch
+_begin_fstest auto quick prealloc punch fiemap
 
 # Import common functions.
 . ./common/filter
index f87095bf62e543bb0237c80d2c50b7802adc0d97..230757e4d911a228154ba7ef4f58c04027a54b01 100755 (executable)
@@ -11,7 +11,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 702c6d827a652c71ba2c080d80b2531724369664..8511e568b5ba4c7de23779293f11bba4240649fb 100755 (executable)
@@ -10,7 +10,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 6d371342f58ec839c527d601ff368289ff4d2754..0cbe8ab36ddd20a8f5c6ae266c06c73ea965406b 100755 (executable)
@@ -11,7 +11,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index 86f405b5c8578ff54ccbcfecf1d97da299c21822..e5a2dcd48ee6aaa02c48849aaed2bcec34d4d4cb 100755 (executable)
@@ -11,7 +11,7 @@
 # - Check the number of extents.
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone fiemap
 
 # Import common functions.
 . ./common/filter
index de28b85bfaaf3077786403acfc8296416427081e..764c63ebcf4e55c257cd607deacee14a7ebbf7ac 100755 (executable)
@@ -15,7 +15,7 @@
 # accounting inconsistency.
 #
 . ./common/preamble
-_begin_fstest auto quick ioctl fsr punch
+_begin_fstest auto quick ioctl fsr punch fiemap
 
 # Import common functions.
 . ./common/filter