* [PATCH] generic/795: add missing _require_scratch check
@ 2026-09-02 5:01 Prabhakar Pujeri
2026-09-02 15:13 ` Darrick J. Wong
0 siblings, 1 reply; 3+ messages in thread
From: Prabhakar Pujeri @ 2026-09-02 5:01 UTC (permalink / raw)
To: fstests; +Cc: Prabhakar Pujeri, Zorro Lang
The test runs _scratch_mkfs and _scratch_mount without first requiring a scratch device, so it fails messily instead of skipping when no scratch device is configured.
Signed-off-by: Prabhakar Pujeri <prabhakar.pujeri@dell.com>
---
tests/generic/795 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/generic/795 b/tests/generic/795
index fa5474c5..4c0e7bdb 100755
--- a/tests/generic/795
+++ b/tests/generic/795
@@ -27,6 +27,8 @@ _cleanup()
. ./common/filter
+_require_scratch
+
fsv_file_size=10000000
nproc_enabler=$((4 * LOAD_FACTOR))
nproc_reader=$((6 * LOAD_FACTOR))
--
2.55.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] generic/795: add missing _require_scratch check
2026-09-02 5:01 [PATCH] generic/795: add missing _require_scratch check Prabhakar Pujeri
@ 2026-09-02 15:13 ` Darrick J. Wong
2026-09-02 16:59 ` Zorro Lang
0 siblings, 1 reply; 3+ messages in thread
From: Darrick J. Wong @ 2026-09-02 15:13 UTC (permalink / raw)
To: Prabhakar Pujeri; +Cc: fstests, Zorro Lang
On Wed, Sep 02, 2026 at 05:01:39AM +0000, Prabhakar Pujeri wrote:
> The test runs _scratch_mkfs and _scratch_mount without first requiring a scratch device, so it fails messily instead of skipping when no scratch device is configured.
>
> Signed-off-by: Prabhakar Pujeri <prabhakar.pujeri@dell.com>
Looks ok, though if you're going to write more of these patches you
might want to put them all under a single patchset...
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
--D
> ---
> tests/generic/795 | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/generic/795 b/tests/generic/795
> index fa5474c5..4c0e7bdb 100755
> --- a/tests/generic/795
> +++ b/tests/generic/795
> @@ -27,6 +27,8 @@ _cleanup()
>
> . ./common/filter
>
> +_require_scratch
> +
> fsv_file_size=10000000
> nproc_enabler=$((4 * LOAD_FACTOR))
> nproc_reader=$((6 * LOAD_FACTOR))
> --
> 2.55.0
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] generic/795: add missing _require_scratch check
2026-09-02 15:13 ` Darrick J. Wong
@ 2026-09-02 16:59 ` Zorro Lang
0 siblings, 0 replies; 3+ messages in thread
From: Zorro Lang @ 2026-09-02 16:59 UTC (permalink / raw)
To: Prabhakar Pujeri; +Cc: Darrick J. Wong, fstests
On Wed, Sep 02, 2026 at 08:13:16AM -0700, Darrick J. Wong wrote:
> On Wed, Sep 02, 2026 at 05:01:39AM +0000, Prabhakar Pujeri wrote:
> > The test runs _scratch_mkfs and _scratch_mount without first requiring a scratch device, so it fails messily instead of skipping when no scratch device is configured.
> >
> > Signed-off-by: Prabhakar Pujeri <prabhakar.pujeri@dell.com>
>
> Looks ok, though if you're going to write more of these patches you
> might want to put them all under a single patchset...
Yes, I've locally merged your 3 patches that add _require_scratch:
btrfs/333: require scratch before checking encoded reads
overlay/081: add missing _require_scratch check
btrfs/273: add missing _require_scratch check
Are you still working on this progress? If so please consider sending them as a
single patch or unified patchset so I don't have to pick them piecemeal.
If there are no more, I'll just merge this one with the other three :)
Thanks,
Zorro
>
> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
>
> --D
>
> > ---
> > tests/generic/795 | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/tests/generic/795 b/tests/generic/795
> > index fa5474c5..4c0e7bdb 100755
> > --- a/tests/generic/795
> > +++ b/tests/generic/795
> > @@ -27,6 +27,8 @@ _cleanup()
> >
> > . ./common/filter
> >
> > +_require_scratch
> > +
> > fsv_file_size=10000000
> > nproc_enabler=$((4 * LOAD_FACTOR))
> > nproc_reader=$((6 * LOAD_FACTOR))
> > --
> > 2.55.0
> >
> >
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-02 16:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02 5:01 [PATCH] generic/795: add missing _require_scratch check Prabhakar Pujeri
2026-09-02 15:13 ` Darrick J. Wong
2026-09-02 16:59 ` Zorro Lang
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.