From: Wei Gao via ltp <ltp@lists.linux.it>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v1] fs_fill: Increase test loop device size to 1GB
Date: Wed, 24 Jan 2024 19:47:32 -0500 [thread overview]
Message-ID: <20240125004732.9549-1-wegao@suse.com> (raw)
On PPC64 the page size is 64K and this causes trouble on btrfs
filesystems of small size(LTP currently use 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.
Signed-off-by: Wei Gao <wegao@suse.com>
---
testcases/kernel/fs/fs_fill/fs_fill.c | 1 +
1 file changed, 1 insertion(+)
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,
--
2.35.3
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next reply other threads:[~2024-01-25 0:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-25 0:47 Wei Gao via ltp [this message]
2024-01-25 9:35 ` [LTP] [PATCH v1] fs_fill: Increase test loop device size to 1GB Petr Vorel
2024-01-25 9:42 ` Martin Doucha
2024-01-25 9:53 ` Petr Vorel
2024-01-25 9:43 ` Martin Doucha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240125004732.9549-1-wegao@suse.com \
--to=ltp@lists.linux.it \
--cc=wegao@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.