From: "Darrick J. Wong" <djwong@kernel.org>
To: Christoph Hellwig <hch@infradead.org>
Cc: fstests@vger.kernel.org
Subject: Re: lots of mounts/remounts of the test file system?
Date: Tue, 29 Jul 2025 07:29:51 -0700 [thread overview]
Message-ID: <20250729142951.GR2672039@frogsfrogsfrogs> (raw)
In-Reply-To: <aH87hl9NUmiqqvU-@infradead.org>
On Tue, Jul 22, 2025 at 12:19:34AM -0700, Christoph Hellwig wrote:
> Hi all,
>
> I've been hacking on some (XFS) code that in this state of development
> requires a mount options to be passed for every mount, and I noticed
> that even when running without a SCRATCH_DEV I have to add the required
> option to MOUNT_OPTIONS and not just TEST_FS_MOUNT_OPTS, which is a bit
> odd. I've been trying to track it down and despite multiple attempts
> failed to find my way through the bash code for it.
>
> But what is even more odd is that when running just a single test (e.g.
> generic/001), the test fs gets mounted four times, with the second
> and fourth time failing to apply the mount options.
Huh, I observe the same thing. I wonder why it does that, but bash is
pretty awful for tracing and there's no obvious explanation. :(
--D
next prev parent reply other threads:[~2025-07-29 14:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-22 7:19 lots of mounts/remounts of the test file system? Christoph Hellwig
2025-07-29 14:29 ` Darrick J. Wong [this message]
2025-07-31 10:21 ` Zorro Lang
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=20250729142951.GR2672039@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=hch@infradead.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