* [LTP] [PATCH] inode01: increase dev_min_size to fit the peak usage in parallel scenario
@ 2026-07-30 13:37 Avinesh Kumar via ltp
2026-07-30 13:41 ` [LTP] [PATCH v2] " Avinesh Kumar via ltp
2026-07-30 13:41 ` [LTP] [PATCH] " Andrea Cervesato via ltp
0 siblings, 2 replies; 5+ messages in thread
From: Avinesh Kumar via ltp @ 2026-07-30 13:37 UTC (permalink / raw)
To: ltp
From: Avinesh Kumar <avinesh.kumar@suse.com>
The parallel scenario keeps every worker's tree on the device at the same
time. On exfat each object costs a full cluster and mkfs.exfat defaults to
32K cluster size for a volume above 256M, causing ENOSPC on a 300M device.
Increase the dev_min_size to 512M.
tst_test.c:1985: TINFO: === Testing on exfat ===
tst_test.c:1291: TINFO: Formatting /dev/loop0 with exfat opts='' extra opts=''
tst_test.c:1303: TINFO: Mounting /dev/loop0 to /var/tmp/LTP_inoLqT9T5/mntpoint fstyp=exfat flags=0
inode01.c:241: TINFO: Testing single-process small tree (depth=3 fanout=4 repetitions=100 workers=1)
inode01.c:228: TPASS: Created and verified 28 objects in mntpoint/inode.5827
inode01.c:241: TINFO: Testing parallel larger trees (depth=6 fanout=6 repetitions=8 workers=5)
inode01.c:61: TBROK: write(3,0x7ffcea2c2370,73) failed: ENOSPC (28)
tst_test.c:478: TINFO: Child process reported TBROK killing the test
inode01.c:64: TBROK: mkdir(mntpoint/inode.5832/00001457/00001701/00001862/00001890/00001907/00001911, 0777) failed: ENOSPC (28)
Fixes: 8ea955383e00 ("inode: convert to new API and merge into a single test")
Signed-off-by: Avinesh Kumar <avinesh.kumar@suse.com>
---
testcases/kernel/fs/inode/inode01.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/fs/inode/inode01.c b/testcases/kernel/fs/inode/inode01.c
index 219238553562..de88f4c8c969 100644
--- a/testcases/kernel/fs/inode/inode01.c
+++ b/testcases/kernel/fs/inode/inode01.c
@@ -256,7 +256,7 @@ static struct tst_test test = {
.mount_device = 1,
.all_filesystems = 1,
.needs_root = 1,
- .dev_min_size = 300,
+ .dev_min_size = 1024,
.forks_child = 1,
.needs_checkpoints = 1,
.timeout = 300,
--
2.55.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 5+ messages in thread* [LTP] [PATCH v2] inode01: increase dev_min_size to fit the peak usage in parallel scenario
2026-07-30 13:37 [LTP] [PATCH] inode01: increase dev_min_size to fit the peak usage in parallel scenario Avinesh Kumar via ltp
@ 2026-07-30 13:41 ` Avinesh Kumar via ltp
2026-07-30 13:47 ` Andrea Cervesato via ltp
2026-07-30 13:55 ` Andrea Cervesato via ltp
2026-07-30 13:41 ` [LTP] [PATCH] " Andrea Cervesato via ltp
1 sibling, 2 replies; 5+ messages in thread
From: Avinesh Kumar via ltp @ 2026-07-30 13:41 UTC (permalink / raw)
To: ltp
From: Avinesh Kumar <avinesh.kumar@suse.com>
The parallel scenario keeps every worker's tree on the device at the same
time. On exfat each object costs a full cluster and mkfs.exfat defaults to
32K cluster size for a volume above 256M, causing ENOSPC on a 300M device.
Increase the dev_min_size to 512M.
tst_test.c:1985: TINFO: === Testing on exfat ===
tst_test.c:1291: TINFO: Formatting /dev/loop0 with exfat opts='' extra opts=''
tst_test.c:1303: TINFO: Mounting /dev/loop0 to /var/tmp/LTP_inoLqT9T5/mntpoint fstyp=exfat flags=0
inode01.c:241: TINFO: Testing single-process small tree (depth=3 fanout=4 repetitions=100 workers=1)
inode01.c:228: TPASS: Created and verified 28 objects in mntpoint/inode.5827
inode01.c:241: TINFO: Testing parallel larger trees (depth=6 fanout=6 repetitions=8 workers=5)
inode01.c:61: TBROK: write(3,0x7ffcea2c2370,73) failed: ENOSPC (28)
tst_test.c:478: TINFO: Child process reported TBROK killing the test
inode01.c:64: TBROK: mkdir(mntpoint/inode.5832/00001457/00001701/00001862/00001890/00001907/00001911, 0777) failed: ENOSPC (28)
Fixes: 8ea955383e00 ("inode: convert to new API and merge into a single test")
Signed-off-by: Avinesh Kumar <avinesh.kumar@suse.com>
---
testcases/kernel/fs/inode/inode01.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/fs/inode/inode01.c b/testcases/kernel/fs/inode/inode01.c
index 219238553562..2816ad61ab38 100644
--- a/testcases/kernel/fs/inode/inode01.c
+++ b/testcases/kernel/fs/inode/inode01.c
@@ -256,7 +256,7 @@ static struct tst_test test = {
.mount_device = 1,
.all_filesystems = 1,
.needs_root = 1,
- .dev_min_size = 300,
+ .dev_min_size = 512,
.forks_child = 1,
.needs_checkpoints = 1,
.timeout = 300,
--
2.55.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [LTP] [PATCH] inode01: increase dev_min_size to fit the peak usage in parallel scenario
2026-07-30 13:37 [LTP] [PATCH] inode01: increase dev_min_size to fit the peak usage in parallel scenario Avinesh Kumar via ltp
2026-07-30 13:41 ` [LTP] [PATCH v2] " Avinesh Kumar via ltp
@ 2026-07-30 13:41 ` Andrea Cervesato via ltp
1 sibling, 0 replies; 5+ messages in thread
From: Andrea Cervesato via ltp @ 2026-07-30 13:41 UTC (permalink / raw)
To: Avinesh Kumar; +Cc: ltp
Hi Avinesh,
> From: Avinesh Kumar <avinesh.kumar@suse.com>
>
> The parallel scenario keeps every worker's tree on the device at the same
> time. On exfat each object costs a full cluster and mkfs.exfat defaults to
> 32K cluster size for a volume above 256M, causing ENOSPC on a 300M device.
> Increase the dev_min_size to 512M.
commit message and dev_min_size in the patch dont match the value.
The commit message needs to be changed before merge.
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-07-30 13:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30 13:37 [LTP] [PATCH] inode01: increase dev_min_size to fit the peak usage in parallel scenario Avinesh Kumar via ltp
2026-07-30 13:41 ` [LTP] [PATCH v2] " Avinesh Kumar via ltp
2026-07-30 13:47 ` Andrea Cervesato via ltp
2026-07-30 13:55 ` Andrea Cervesato via ltp
2026-07-30 13:41 ` [LTP] [PATCH] " Andrea Cervesato via ltp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox