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] formalize and fix disabling the RT subvolume
Date: Wed, 1 Jul 2026 09:51:14 -0700 [thread overview]
Message-ID: <20260701165114.GD6517@frogsfrogsfrogs> (raw)
In-Reply-To: <20260701105407.GA14404@lst.de>
On Wed, Jul 01, 2026 at 12:54:07PM +0200, Christoph Hellwig wrote:
> On Tue, Jun 30, 2026 at 11:40:18AM -0700, Darrick J. Wong wrote:
> > On Tue, Jun 30, 2026 at 01:35:26PM +0200, Christoph Hellwig wrote:
> > > Various test unset SCRATCH_RTDEV to avoid dealing with metadata
> > > allocations for the RT subvolume in the main device or differences
> > > in RT subvolume behavior. Besides being rather ad-hoc, this unset
> > > also fails to disable the internal RT zoned subvolume.
> > >
> > > Add a _disable_scratch_realtime helper that not only unsets
> > > SCRATCH_RTDEV, but also disables the zoned allocator and with
> > > that the internal RT subvolume.
> >
> > What if we want to run these tests on the internal rt volume?
>
> Then we need to stop disabling the RT volume for them..
Ahaha ok with this patch applied, the regressions I see in generic/441
and xfs/656 go away. generic/441 chokes because the scratch fs goes
down due to writeback error, so I assume it's ok to start excluding this
test.
xfs/656 is a different story:
--- /run/fstests/bin/tests/xfs/656.out 2026-03-13 16:19:08.152939212 -0700
+++ /run/fstests/logs/xfs/656.out.bad 2026-06-30 18:16:43.847849604 -0700
@@ -1,10 +1,9 @@
QA output created by 656
Format and mount
pwrite: Input/output error
-pread: Input/output error
+stat: Input/output error
pread: Input/output error
fsync: Input/output error
VICTIM pos NUM len NUM: directio_write: Input/output error
-VICTIM pos NUM len NUM: directio_read: Input/output error
VICTIM pos NUM len NUM: buffered_read: Input/output error
VICTIM pos NUM len NUM: buffered_write: Input/output error
I'm guessing that the write failure takes down the filesystem, which is
why the subsequent xfs_io pread can't even open the file.
Also the comment in xfs/655 and 656 doesn't make sense:
# Disable the scratch rt device to avoid test failures relating to the
# rt bitmap consuming all the free space in our small data device.
unset SCRATCH_RTDEV
We're creating a regular sized data device, so this shouldn't be an
issue.
Eh, whatever, I'll clean up those two healer tests. :)
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
--D
next prev parent reply other threads:[~2026-07-01 16:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-30 11:35 [PATCH] formalize and fix disabling the RT subvolume Christoph Hellwig
2026-06-30 18:40 ` Darrick J. Wong
2026-07-01 10:54 ` Christoph Hellwig
2026-07-01 16:51 ` Darrick J. Wong [this message]
2026-07-02 10:33 ` Christoph Hellwig
2026-07-02 15:22 ` Darrick J. Wong
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=20260701165114.GD6517@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