FS/XFS testing framework
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: fstests@vger.kernel.org
Subject: lots of mounts/remounts of the test file system?
Date: Tue, 22 Jul 2025 00:19:34 -0700	[thread overview]
Message-ID: <aH87hl9NUmiqqvU-@infradead.org> (raw)

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.

             reply	other threads:[~2025-07-22  7:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-22  7:19 Christoph Hellwig [this message]
2025-07-29 14:29 ` lots of mounts/remounts of the test file system? Darrick J. Wong
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=aH87hl9NUmiqqvU-@infradead.org \
    --to=hch@infradead.org \
    --cc=fstests@vger.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