inode01: increase dev_min_size to fit the peak usage in parallel scenario
PATCH 1/1 inode01: increase dev_min_size to fit the peak usage in parallel scenario
From: Avinesh Kumar <[email protected]>
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)
--- testcases/kernel/fs/inode/inode01.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/fs/inode/inode01.c +1 -1
@@ -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,
Signature · 5 lines
2.55.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
PATCH v2 1/1 inode01: increase dev_min_size to fit the peak usage in parallel scenario
From: Avinesh Kumar <[email protected]>
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)
--- testcases/kernel/fs/inode/inode01.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/fs/inode/inode01.c +1 -1
@@ -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,
Signature · 5 lines
2.55.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
[email protected]
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Andrea Cervesato via ltp
AppliedMerged, Thanks!
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
[email protected]
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Avinesh,
Quoted 6 lines
From: Avinesh Kumar <[email protected]>
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_sizeto 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
[email protected]
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp