aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Gao via ltp <ltp@lists.linux.it>2024-01-24 19:47:32 -0500
committerPetr Vorel <pvorel@suse.cz>2024-01-25 10:55:49 +0100
commit848dd6fba652588597740805730137f17464485c (patch)
tree2fa366cea23c6a4c2d2d2f115930698f1769a6cc
parent6c4bf3a75f4ba17503bc2d8ba91a7514fdae995e (diff)
downloadltp-848dd6fba652588597740805730137f17464485c.tar.gz
fs_fill: Increase test loop device size to 1GB
On PPC64 the page size is 64K and this causes trouble on btrfs filesystems of small size (LTP currently uses 300M), the threads could compete for a very small number of pages/blocks to actually write the data. So increase minimal device size to 1G avoid the corner case. Link: https://lore.kernel.org/ltp/20240125004732.9549-1-wegao@suse.com/ Reviewed-by: Petr Vorel <pvorel@suse.cz> Reviewed-by: Martin Doucha <mdoucha@suse.cz> Signed-off-by: Wei Gao <wegao@suse.com>
-rw-r--r--testcases/kernel/fs/fs_fill/fs_fill.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testcases/kernel/fs/fs_fill/fs_fill.c b/testcases/kernel/fs/fs_fill/fs_fill.c
index 2ecd8e2ad..325e83643 100644
--- a/testcases/kernel/fs/fs_fill/fs_fill.c
+++ b/testcases/kernel/fs/fs_fill/fs_fill.c
@@ -123,6 +123,7 @@ static void cleanup(void)
static struct tst_test test = {
.max_runtime = 60,
.needs_root = 1,
+ .dev_min_size = 1024,
.mount_device = 1,
.mntpoint = MNTPOINT,
.all_filesystems = 1,