* [PATCH v2 0/3] xfstests: add missing _require_scratch checks
@ 2026-09-03 3:53 Prabhakar Pujeri
2026-09-03 3:53 ` [PATCH v2 1/3] generic/590,735: add missing _require_scratch check Prabhakar Pujeri
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Prabhakar Pujeri @ 2026-09-03 3:53 UTC (permalink / raw)
To: fstests; +Cc: Prabhakar Pujeri, Zorro Lang, Darrick J. Wong
Consolidated resend of the remaining _require_scratch fixes, as
requested by Zorro. The first three of this batch (btrfs/333 v3,
overlay/081 v2, btrfs/273 v2) are already in his local tree.
v2:
- Resent as a single series, per Zorro's request.
- Carry Darrick J. Wong's Reviewed-by (generic/590,735 and generic/795)
and Zorro Lang's Reviewed-by (f2fs/015,016); besides message
re-formatting there is no code change.
v1 pieces for reference:
- generic/590,735: https://lore.kernel.org/fstests/20260831104148.2243-1-prabhakar.pujeri@dell.com/
- generic/795: https://lore.kernel.org/fstests/20260902050139.2426-1-prabhakar.pujeri@dell.com/
- f2fs/015,016: https://lore.kernel.org/fstests/20260902050133.2413-1-prabhakar.pujeri@dell.com/
Prabhakar Pujeri (3):
generic/590,735: add missing _require_scratch check
generic/795: add missing _require_scratch check
f2fs/015,016: add missing _require_scratch checks
tests/f2fs/015 | 1 +
tests/f2fs/016 | 1 +
tests/generic/590 | 1 +
tests/generic/735 | 1 +
tests/generic/795 | 2 ++
5 files changed, 6 insertions(+)
--
2.55.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 1/3] generic/590,735: add missing _require_scratch check
2026-09-03 3:53 [PATCH v2 0/3] xfstests: add missing _require_scratch checks Prabhakar Pujeri
@ 2026-09-03 3:53 ` Prabhakar Pujeri
2026-09-03 3:53 ` [PATCH v2 2/3] generic/795: " Prabhakar Pujeri
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Prabhakar Pujeri @ 2026-09-03 3:53 UTC (permalink / raw)
To: fstests; +Cc: Prabhakar Pujeri, Zorro Lang, Darrick J. Wong
Both tests use the scratch device without first requiring one, so they
fail messily instead of skipping when no scratch device is configured.
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Prabhakar Pujeri <prabhakar.pujeri@dell.com>
---
tests/generic/590 | 1 +
tests/generic/735 | 1 +
2 files changed, 2 insertions(+)
diff --git a/tests/generic/590 b/tests/generic/590
index 54c26f2a..0775d6ff 100755
--- a/tests/generic/590
+++ b/tests/generic/590
@@ -13,6 +13,7 @@ _begin_fstest auto prealloc preallocrw
. ./common/filter
+_require_scratch
_require_xfs_io_command "falloc"
maxextlen=$((0x1fffff))
diff --git a/tests/generic/735 b/tests/generic/735
index 60fa3dce..d7e732bc 100755
--- a/tests/generic/735
+++ b/tests/generic/735
@@ -20,6 +20,7 @@ if [[ "$FSTYP" =~ ext[0-9]+ ]]; then
fi
_require_odirect
+_require_scratch
_require_xfs_io_command "falloc"
_require_xfs_io_command "finsert"
_require_max_file_range_blocks $(( (1 << 32) - 1 ))
--
2.55.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 2/3] generic/795: add missing _require_scratch check
2026-09-03 3:53 [PATCH v2 0/3] xfstests: add missing _require_scratch checks Prabhakar Pujeri
2026-09-03 3:53 ` [PATCH v2 1/3] generic/590,735: add missing _require_scratch check Prabhakar Pujeri
@ 2026-09-03 3:53 ` Prabhakar Pujeri
2026-09-03 3:53 ` [PATCH v2 3/3] f2fs/015,016: add missing _require_scratch checks Prabhakar Pujeri
2026-09-03 13:53 ` [PATCH v2 0/3] xfstests: " Zorro Lang
3 siblings, 0 replies; 6+ messages in thread
From: Prabhakar Pujeri @ 2026-09-03 3:53 UTC (permalink / raw)
To: fstests; +Cc: Prabhakar Pujeri, Zorro Lang, Darrick J. Wong
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.
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
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] 6+ messages in thread
* [PATCH v2 3/3] f2fs/015,016: add missing _require_scratch checks
2026-09-03 3:53 [PATCH v2 0/3] xfstests: add missing _require_scratch checks Prabhakar Pujeri
2026-09-03 3:53 ` [PATCH v2 1/3] generic/590,735: add missing _require_scratch check Prabhakar Pujeri
2026-09-03 3:53 ` [PATCH v2 2/3] generic/795: " Prabhakar Pujeri
@ 2026-09-03 3:53 ` Prabhakar Pujeri
2026-09-03 23:35 ` [f2fs-dev] [PATCH v2 3/3] f2fs/015, 016: " Chao Yu
2026-09-03 13:53 ` [PATCH v2 0/3] xfstests: " Zorro Lang
3 siblings, 1 reply; 6+ messages in thread
From: Prabhakar Pujeri @ 2026-09-03 3:53 UTC (permalink / raw)
To: fstests; +Cc: Prabhakar Pujeri, Zorro Lang, linux-f2fs-devel, Jaegeuk Kim
Both tests run _scratch_mkfs in a loop without first requiring a
scratch device, so they fail messily instead of skipping when no
scratch device is configured.
Reviewed-by: Zorro Lang <zlang@kernel.org>
Signed-off-by: Prabhakar Pujeri <prabhakar.pujeri@dell.com>
---
tests/f2fs/015 | 1 +
tests/f2fs/016 | 1 +
2 files changed, 2 insertions(+)
diff --git a/tests/f2fs/015 b/tests/f2fs/015
index 54cada4a..75ae91f2 100755
--- a/tests/f2fs/015
+++ b/tests/f2fs/015
@@ -12,6 +12,7 @@ _begin_fstest auto quick mount
_require_kernel_config CONFIG_F2FS_FS_XATTR
_require_kernel_config CONFIG_F2FS_FS_POSIX_ACL
_require_kernel_config CONFIG_F2FS_FAULT_INJECTION
+_require_scratch
options=(
# mount_option mkfs_option
diff --git a/tests/f2fs/016 b/tests/f2fs/016
index a6df827d..e0857e0a 100755
--- a/tests/f2fs/016
+++ b/tests/f2fs/016
@@ -15,6 +15,7 @@ _require_kernel_config CONFIG_F2FS_FS_LZORLE
_require_kernel_config CONFIG_F2FS_FS_LZ4
_require_kernel_config CONFIG_F2FS_FS_LZ4HC
_require_kernel_config CONFIG_F2FS_FS_ZSTD
+_require_scratch
options=(
# mount_option mkfs_option
--
2.55.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2 0/3] xfstests: add missing _require_scratch checks
2026-09-03 3:53 [PATCH v2 0/3] xfstests: add missing _require_scratch checks Prabhakar Pujeri
` (2 preceding siblings ...)
2026-09-03 3:53 ` [PATCH v2 3/3] f2fs/015,016: add missing _require_scratch checks Prabhakar Pujeri
@ 2026-09-03 13:53 ` Zorro Lang
3 siblings, 0 replies; 6+ messages in thread
From: Zorro Lang @ 2026-09-03 13:53 UTC (permalink / raw)
To: Prabhakar Pujeri; +Cc: fstests, Darrick J. Wong
On Thu, Sep 03, 2026 at 03:53:41AM +0000, Prabhakar Pujeri wrote:
> Consolidated resend of the remaining _require_scratch fixes, as
> requested by Zorro. The first three of this batch (btrfs/333 v3,
> overlay/081 v2, btrfs/273 v2) are already in his local tree.
>
> v2:
> - Resent as a single series, per Zorro's request.
> - Carry Darrick J. Wong's Reviewed-by (generic/590,735 and generic/795)
> and Zorro Lang's Reviewed-by (f2fs/015,016); besides message
> re-formatting there is no code change.
>
> v1 pieces for reference:
> - generic/590,735: https://lore.kernel.org/fstests/20260831104148.2243-1-prabhakar.pujeri@dell.com/
> - generic/795: https://lore.kernel.org/fstests/20260902050139.2426-1-prabhakar.pujeri@dell.com/
> - f2fs/015,016: https://lore.kernel.org/fstests/20260902050133.2413-1-prabhakar.pujeri@dell.com/
>
>
> Prabhakar Pujeri (3):
> generic/590,735: add missing _require_scratch check
> generic/795: add missing _require_scratch check
> f2fs/015,016: add missing _require_scratch checks
Hi,
Thanks for this work, I'm wondering why generic/590 and generic/735 are
combined into one patch while generic/795 is split out?
Given that they all just add a single line of _require_scratch. While I think
this could easily be a single patch, if you prefer splitting them up, grouping
them per-directory (generic, f2fs, btrfs, overlay ...) would make sense.
Also, I recall you had a few other similar patches, such as:
btrfs/333: require scratch before checking encoded reads
btrfs/273: add missing _require_scratch check
overlay/081: add missing _require_scratch check
Please bundle all of them into a single patch series (keeping any existing
Reviewed-by tags) so they can be reviewed and merged together.
Thanks,
Zorro
>
> tests/f2fs/015 | 1 +
> tests/f2fs/016 | 1 +
> tests/generic/590 | 1 +
> tests/generic/735 | 1 +
> tests/generic/795 | 2 ++
> 5 files changed, 6 insertions(+)
>
> --
> 2.55.0
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [f2fs-dev] [PATCH v2 3/3] f2fs/015, 016: add missing _require_scratch checks
2026-09-03 3:53 ` [PATCH v2 3/3] f2fs/015,016: add missing _require_scratch checks Prabhakar Pujeri
@ 2026-09-03 23:35 ` Chao Yu
0 siblings, 0 replies; 6+ messages in thread
From: Chao Yu @ 2026-09-03 23:35 UTC (permalink / raw)
To: Prabhakar Pujeri, fstests; +Cc: chao, Jaegeuk Kim, Zorro Lang, linux-f2fs-devel
On 9/3/26 11:53, Prabhakar Pujeri via Linux-f2fs-devel wrote:
> Both tests run _scratch_mkfs in a loop without first requiring a
> scratch device, so they fail messily instead of skipping when no
> scratch device is configured.
>
> Reviewed-by: Zorro Lang <zlang@kernel.org>
> Signed-off-by: Prabhakar Pujeri <prabhakar.pujeri@dell.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Thanks,
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-09-03 23:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03 3:53 [PATCH v2 0/3] xfstests: add missing _require_scratch checks Prabhakar Pujeri
2026-09-03 3:53 ` [PATCH v2 1/3] generic/590,735: add missing _require_scratch check Prabhakar Pujeri
2026-09-03 3:53 ` [PATCH v2 2/3] generic/795: " Prabhakar Pujeri
2026-09-03 3:53 ` [PATCH v2 3/3] f2fs/015,016: add missing _require_scratch checks Prabhakar Pujeri
2026-09-03 23:35 ` [f2fs-dev] [PATCH v2 3/3] f2fs/015, 016: " Chao Yu
2026-09-03 13:53 ` [PATCH v2 0/3] xfstests: " Zorro Lang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox