FS/XFS testing framework
 help / color / mirror / Atom feed
* [PATCH] generic/370: don't exclude XFS
@ 2025-02-17  6:31 Christoph Hellwig
  2025-02-18  4:21 ` Zorro Lang
  2025-02-18 17:39 ` Darrick J. Wong
  0 siblings, 2 replies; 4+ messages in thread
From: Christoph Hellwig @ 2025-02-17  6:31 UTC (permalink / raw)
  To: zlang; +Cc: fstests

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 <hch@lst.de>
---
 tests/generic/370 | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/tests/generic/370 b/tests/generic/370
index 8adffd2e9650..8101ef42724e 100755
--- a/tests/generic/370
+++ b/tests/generic/370
@@ -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
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] generic/370: don't exclude XFS
  2025-02-17  6:31 [PATCH] generic/370: don't exclude XFS Christoph Hellwig
@ 2025-02-18  4:21 ` Zorro Lang
  2025-02-18 17:39 ` Darrick J. Wong
  1 sibling, 0 replies; 4+ messages in thread
From: Zorro Lang @ 2025-02-18  4:21 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: zlang, fstests

On Mon, Feb 17, 2025 at 07:31:35AM +0100, Christoph Hellwig wrote:
> 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.

> 
> (Fortunately despite hiding the bug this is now getting fixed in XFS as
>  well).

Great to hear that:)

Reviewed-by: Zorro Lang <zlang@redhat.com>

> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  tests/generic/370 | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/tests/generic/370 b/tests/generic/370
> index 8adffd2e9650..8101ef42724e 100755
> --- a/tests/generic/370
> +++ b/tests/generic/370
> @@ -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
> -- 
> 2.45.2
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] generic/370: don't exclude XFS
  2025-02-17  6:31 [PATCH] generic/370: don't exclude XFS Christoph Hellwig
  2025-02-18  4:21 ` Zorro Lang
@ 2025-02-18 17:39 ` Darrick J. Wong
  2025-02-19  6:41   ` Zorro Lang
  1 sibling, 1 reply; 4+ messages in thread
From: Darrick J. Wong @ 2025-02-18 17:39 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: zlang, fstests

On Mon, Feb 17, 2025 at 07:31:35AM +0100, Christoph Hellwig wrote:
> 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 <hch@lst.de>
> ---
>  tests/generic/370 | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/tests/generic/370 b/tests/generic/370
> index 8adffd2e9650..8101ef42724e 100755
> --- a/tests/generic/370
> +++ b/tests/generic/370
> @@ -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

> -
>  _require_scratch_swapfile
>  _require_scratch_reflink
>  _require_cp_reflink
> -- 
> 2.45.2
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] generic/370: don't exclude XFS
  2025-02-18 17:39 ` Darrick J. Wong
@ 2025-02-19  6:41   ` Zorro Lang
  0 siblings, 0 replies; 4+ messages in thread
From: Zorro Lang @ 2025-02-19  6:41 UTC (permalink / raw)
  To: Darrick J. Wong; +Cc: Christoph Hellwig, zlang, fstests

On Tue, Feb 18, 2025 at 09:39:12AM -0800, Darrick J. Wong wrote:
> On Mon, Feb 17, 2025 at 07:31:35AM +0100, Christoph Hellwig wrote:
> > 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 <hch@lst.de>
> > ---
> >  tests/generic/370 | 8 --------
> >  1 file changed, 8 deletions(-)
> > 
> > diff --git a/tests/generic/370 b/tests/generic/370
> > index 8adffd2e9650..8101ef42724e 100755
> > --- a/tests/generic/370
> > +++ b/tests/generic/370
> > @@ -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"

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

> 
> --D
> 
> > -
> >  _require_scratch_swapfile
> >  _require_scratch_reflink
> >  _require_cp_reflink
> > -- 
> > 2.45.2
> > 
> > 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-02-19  6:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17  6:31 [PATCH] generic/370: don't exclude XFS Christoph Hellwig
2025-02-18  4:21 ` Zorro Lang
2025-02-18 17:39 ` Darrick J. Wong
2025-02-19  6:41   ` Zorro Lang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox