* [PATCH] xfs/507: use mount -t xfs
@ 2026-07-29 12:59 Christoph Hellwig
2026-07-29 15:46 ` Darrick J. Wong
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2026-07-29 12:59 UTC (permalink / raw)
To: zlang; +Cc: fstests, linux-xfs
Sometimes mount wants to try every other file system but XFS when
mounting the loop image, making this test fail. Force mounting as XFS
to make it reliably pass.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
tests/xfs/507 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/xfs/507 b/tests/xfs/507
index e1450f4f8f94..a9eb8646680b 100755
--- a/tests/xfs/507
+++ b/tests/xfs/507
@@ -86,7 +86,7 @@ loop_dev=$(_create_loop_device $loop_file)
_mkfs_dev -d cowextsize=$MAXEXTLEN -l size=256m $loop_dev >> $seqres.full
mkdir $loop_mount
-_mount $loop_dev $loop_mount
+_mount -t xfs $loop_dev $loop_mount
echo "Create crazy huge file"
huge_file="$loop_mount/a"
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] xfs/507: use mount -t xfs
2026-07-29 12:59 [PATCH] xfs/507: use mount -t xfs Christoph Hellwig
@ 2026-07-29 15:46 ` Darrick J. Wong
2026-07-29 15:49 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Darrick J. Wong @ 2026-07-29 15:46 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: zlang, fstests, linux-xfs
On Wed, Jul 29, 2026 at 02:59:55PM +0200, Christoph Hellwig wrote:
> Sometimes mount wants to try every other file system but XFS when
> mounting the loop image, making this test fail. Force mounting as XFS
> to make it reliably pass.
Weird. Do you know why it does that? Did the kernel really skip xfs or
were the sb verifiers simply running in quiet mode?
--D
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> tests/xfs/507 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/xfs/507 b/tests/xfs/507
> index e1450f4f8f94..a9eb8646680b 100755
> --- a/tests/xfs/507
> +++ b/tests/xfs/507
> @@ -86,7 +86,7 @@ loop_dev=$(_create_loop_device $loop_file)
>
> _mkfs_dev -d cowextsize=$MAXEXTLEN -l size=256m $loop_dev >> $seqres.full
> mkdir $loop_mount
> -_mount $loop_dev $loop_mount
> +_mount -t xfs $loop_dev $loop_mount
>
> echo "Create crazy huge file"
> huge_file="$loop_mount/a"
> --
> 2.53.0
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] xfs/507: use mount -t xfs
2026-07-29 15:46 ` Darrick J. Wong
@ 2026-07-29 15:49 ` Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2026-07-29 15:49 UTC (permalink / raw)
To: Darrick J. Wong; +Cc: Christoph Hellwig, zlang, fstests, linux-xfs
On Wed, Jul 29, 2026 at 08:46:50AM -0700, Darrick J. Wong wrote:
> On Wed, Jul 29, 2026 at 02:59:55PM +0200, Christoph Hellwig wrote:
> > Sometimes mount wants to try every other file system but XFS when
> > mounting the loop image, making this test fail. Force mounting as XFS
> > to make it reliably pass.
>
> Weird. Do you know why it does that? Did the kernel really skip xfs or
> were the sb verifiers simply running in quiet mode?
Not really. I also happens in weird patches, I can reproduce it a few
times in a row, but just when I get ready to investigate the problem,
it goes away.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-29 15:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-29 12:59 [PATCH] xfs/507: use mount -t xfs Christoph Hellwig
2026-07-29 15:46 ` Darrick J. Wong
2026-07-29 15:49 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox