[LTP] [PATCH v1] fs_fill: Increase test loop device size to 1GB
Martin Doucha
mdoucha@suse.cz
Thu Jan 25 10:43:17 CET 2024
Hi,
Reviewed-by: Martin Doucha <mdoucha@suse.cz>
On 25. 01. 24 1:47, Wei Gao via ltp wrote:
> 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,
--
Martin Doucha mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic
More information about the ltp
mailing list