From: Christoph Hellwig <hch@lst.de>
To: Zorro Lang <zlang@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>,
zlang@kernel.org, Yuezhang.Mo@sony.com, fstests@vger.kernel.org
Subject: Re: [PATCH] Revert "generic/730: add _require_scratch_shutdown"
Date: Tue, 29 Jul 2025 09:42:06 +0200 [thread overview]
Message-ID: <20250729074206.GA23612@lst.de> (raw)
In-Reply-To: <20250725133753.f7vwtkvtxql4owl2@dell-per750-06-vm-08.rhts.eng.pek2.redhat.com>
On Fri, Jul 25, 2025 at 09:37:53PM +0800, Zorro Lang wrote:
> About why this case need "shutdown":
> https://lore.kernel.org/fstests/PUZPR04MB63169A8C1008035BB2D104568166A@PUZPR04MB6316.apcprd04.prod.outlook.com/
>
> So looks like we'd better to notrun if shutdown isn't supported by fs on
> SCSI_DEBUG_DEV. But if think "_require_scratch_shutdown" is a problem, maybe
> we can avoid using _scratch_ things, use a local function to check shutdown
> on SCSI_DEBUG_DEV manually, and notrun if it's not supported?
These are two almost entirely unrelated, except usually sharing some code
for the implementation: _require_scratch_shutdown checks for the
IOC_SHUDOWN ioctl, while this test coverd behavior of the file system
when the underlying block device is removed.
I can't really think of a feature test for shutting down the file system
on device removal, because it really should not be an optional feature..
> BTW, can I ask why do you need to test with TEST_DEV only :) Although
> SCRATCH_DEV is optional (README says), I think nearly all testers test
> with SCRATCH_DEV.
I'm working on an experimental xfs change that will need a lot of
tooling changes to handle the various scratch mkfs use cases. So
while it's still bleeding edge I'd rather get all the TEST_DEV testing
than debuggіng/fixing xfstests.
prev parent reply other threads:[~2025-07-29 7:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-24 7:25 [PATCH] Revert "generic/730: add _require_scratch_shutdown" Christoph Hellwig
2025-07-25 5:28 ` Anand Jain
2025-07-25 13:37 ` Zorro Lang
2025-07-29 7:42 ` Christoph Hellwig [this message]
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=20250729074206.GA23612@lst.de \
--to=hch@lst.de \
--cc=Yuezhang.Mo@sony.com \
--cc=fstests@vger.kernel.org \
--cc=zlang@kernel.org \
--cc=zlang@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.