diff options
author | Theodore Ts'o <tytso@mit.edu> | 2023-07-28 19:27:13 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-07-28 19:27:13 -0400 |
commit | 267defe8471ea9cd11ac0da88465287ee326f636 (patch) | |
tree | 2b9b7aa745c607472762c6e31f4859285d29f7c7 | |
parent | 18be2c09acb63fd367bee80b5fa3628394a4beff (diff) | |
download | xfstests-bld-267defe8471ea9cd11ac0da88465287ee326f636.tar.gz |
test-appliance: exclude generic/37[34] for pre-5.18 kernels
Starting in 5.18 we allow cross-vfsmnt reflink/dedupe, and older
kernels will fail on these tests.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r-- | test-appliance/files/root/fs/global_exclude | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test-appliance/files/root/fs/global_exclude b/test-appliance/files/root/fs/global_exclude index 8b13b5d1..6024cce6 100644 --- a/test-appliance/files/root/fs/global_exclude +++ b/test-appliance/files/root/fs/global_exclude @@ -1,3 +1,12 @@ +#if LINUX_VERSION_CODE < KERNEL_VERSION(5,18,0) +// We now allow cross-vfsmnt reflink/dedupe starting in 5.18. +// Older kernels will fail on generic/373 and generic/374 because +// these tests have been updated to cross-vfsmount reflink and dedupe, +// at least for those file systems which support reflink/dedupe +generic/373 +generic/374 +#endif + // "The test is just broken. It made some odd assumptions on // what RWF_NOMAIT means with buffered writes..." -- Jens Axboe // https://lore.kernel.org/r/b2865bd6-2346-8f4d-168b-17f06bbedbed@kernel.dk |