From 3626124a42adfe536af2abff63213fa1ccc63795 Mon Sep 17 00:00:00 2001 From: Martin Doucha Date: Tue, 23 Jan 2024 17:05:06 +0100 Subject: [PATCH] fallocate06: Increase test loop device size to 1GB Btrfs on newer kernels may have issues with running out of space for metadata in the fill FS+CoW subtest if the test device is too small. Increase minimal device size to avoid the corner case. Signed-off-by: Martin Doucha Reviewed-by: Petr Vorel Reviewed-by: Cyril Hrubis --- testcases/kernel/syscalls/fallocate/fallocate06.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testcases/kernel/syscalls/fallocate/fallocate06.c b/testcases/kernel/syscalls/fallocate/fallocate06.c index 124fb7eaeff..24f98e2718c 100644 --- a/testcases/kernel/syscalls/fallocate/fallocate06.c +++ b/testcases/kernel/syscalls/fallocate/fallocate06.c @@ -260,6 +260,8 @@ static struct tst_test test = { .test = run, .tcnt = ARRAY_SIZE(testcase_list), .needs_root = 1, + .dev_min_size = 1024, + .max_runtime = 120, .mount_device = 1, .mntpoint = MNTPOINT, .all_filesystems = 1,