generic/370: don't exclude XFS
PATCH 1/1 generic/370: don't exclude XFS
Skipping tests just because a file system is broken is always a bad idea as it hides bugs.
(Fortunately despite hiding the bug this is now getting fixed in XFS as
well).
--- tests/generic/370 | 8 -------- 1 file changed, 8 deletions(-)
tests/generic/370 +0 -8
@@ -22,14 +22,6 @@ _cleanup() [ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit 03018e5d8508 \ "btrfs: fix swap file activation failure due to extents that used to be shared" -# Skip XFS for now because this exposes an issue that is hard to fix. -# See the following threads for details about it: -# -# https://lore.kernel.org/linux-xfs/CAL3q7H7cURmnkJfUUx44HM3q=xKmqHb80eRdisErD_x8rU4+0Q@mail.gmail.com/ -# https://lore.kernel.org/fstests/dca49a16a7aacdab831b8895bdecbbb52c0e609c.1733928765.git.fdmanana@suse.com/ -# -_exclude_fs xfs - _require_scratch_swapfile _require_scratch_reflink _require_cp_reflink
Signature · 1 line
2.45.2
Quoted 2 lines · Christoph Hellwig
Skipping tests just because a file system is broken is always a bad idea as it hides bugs.
Skipping this test due to I'm not sure if xfs treats it as a bug or a boring test failure which isn't suit for xfs. So I have to choose to skip it temporarily with enough explanation, as btrfs was hurry to have this merge and there was not objection from xfs either at that time.
Quoted 3 lines
(Fortunately despite hiding the bug this is now getting fixed in XFS as
well).
Great to hear that:)
Quoted 29 lines
Signed-off-by Christoph Hellwig <[email protected]>--- tests/generic/370 | 8 -------- 1 file changed, 8 deletions(-)tests/generic/370 +0
-8@@ -22,14 +22,6 @@ _cleanup() [ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit 03018e5d8508 \ "btrfs: fix swap file activation failure due to extents that used to be shared" -# Skip XFS for now because this exposes an issue that is hard to fix. -# See the following threads for details about it: -# -# https://lore.kernel.org/linux-xfs/CAL3q7H7cURmnkJfUUx44HM3q=xKmqHb80eRdisErD_x8rU4+0Q@mail.gmail.com/ -# https://lore.kernel.org/fstests/dca49a16a7aacdab831b8895bdecbbb52c0e609c.1733928765.git.fdmanana@suse.com/ -# -_exclude_fs xfs - _require_scratch_swapfile _require_scratch_reflink _require_cp_reflinkSignature · 1 line
2.45.2
Quoted 16 lines · Christoph Hellwig
Skipping tests just because a file system is broken is always a bad idea as it hides bugs.
(Fortunately despite hiding the bug this is now getting fixed in XFS as
well).Signed-off-by Christoph Hellwig <[email protected]>--- tests/generic/370 | 8 -------- 1 file changed, 8 deletions(-)tests/generic/370 +0
-0
tests/generic/370 _cleanup() · line 31
Quoted 10 lines
tests/generic/370 +0
-7@@ -22,14 +22,6 @@ _cleanup() [ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit 03018e5d8508 \ "btrfs: fix swap file activation failure due to extents that used to be shared" -# Skip XFS for now because this exposes an issue that is hard to fix. -# See the following threads for details about it: -# -# https://lore.kernel.org/linux-xfs/CAL3q7H7cURmnkJfUUx44HM3q=xKmqHb80eRdisErD_x8rU4+0Q@mail.gmail.com/ -# https://lore.kernel.org/fstests/dca49a16a7aacdab831b8895bdecbbb52c0e609c.1733928765.git.fdmanana@suse.com/ -# -_exclude_fs xfs
Needs a _fixed_by_xfs_commit XXXXXXXX "xfs: flush inodegc before swapon"
--D
Quoted 8 lines
tests/generic/370 +0
-1- _require_scratch_swapfile _require_scratch_reflink _require_cp_reflinkSignature · 1 line
2.45.2
Quoted 20 lines · Darrick J. Wong
Quoted 19 lines · Christoph Hellwig
Skipping tests just because a file system is broken is always a bad idea as it hides bugs.
(Fortunately despite hiding the bug this is now getting fixed in XFS as
well).Signed-off-by Christoph Hellwig <[email protected]>--- tests/generic/370 | 8 -------- 1 file changed, 8 deletions(-)tests/generic/370 +0
-0@@ -22,14 +22,6 @@ _cleanup() [ "$FSTYP" = "btrfs" ] && _fixed_by_kernel_commit 03018e5d8508 \ "btrfs: fix swap file activation failure due to extents that used to be shared"
Quoted 9 lines
tests/generic/370 _cleanup() · line 31
Quoted 7 lines
tests/generic/370 +0
-7-# Skip XFS for now because this exposes an issue that is hard to fix. -# See the following threads for details about it: -# -# https://lore.kernel.org/linux-xfs/CAL3q7H7cURmnkJfUUx44HM3q=xKmqHb80eRdisErD_x8rU4+0Q@mail.gmail.com/ -# https://lore.kernel.org/fstests/dca49a16a7aacdab831b8895bdecbbb52c0e609c.1733928765.git.fdmanana@suse.com/ -# -_exclude_fs xfsNeeds a
_fixed_by_xfs_commitXXXXXXXX "xfs: flush inodegc before swapon"
OK. _fixed_by_xfs_commit is being prepared, not ready:) I'll add:
[ "$FSTYP" = xfs ] && _fixed_by_kernel_commit XXXXXXXX \
"xfs: flush inodegc before swapon"
Thanks,
Zorro
Quoted 12 lines
--D
Quoted 8 lines
tests/generic/370 +0
-1- _require_scratch_swapfile _require_scratch_reflink _require_cp_reflinkSignature · 1 line
2.45.2