Linux XFS filesystem development
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <djwong@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: zlang@kernel.org, fstests@vger.kernel.org, linux-xfs@vger.kernel.org
Subject: Re: [PATCH] xfs/507: use mount -t xfs
Date: Wed, 29 Jul 2026 08:46:50 -0700	[thread overview]
Message-ID: <20260729154650.GC7371@frogsfrogsfrogs> (raw)
In-Reply-To: <20260729125955.2281762-1-hch@lst.de>

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
> 
> 

  reply	other threads:[~2026-07-29 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-29 12:59 [PATCH] xfs/507: use mount -t xfs Christoph Hellwig
2026-07-29 15:46 ` Darrick J. Wong [this message]
2026-07-29 15:49   ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260729154650.GC7371@frogsfrogsfrogs \
    --to=djwong@kernel.org \
    --cc=fstests@vger.kernel.org \
    --cc=hch@lst.de \
    --cc=linux-xfs@vger.kernel.org \
    --cc=zlang@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox