diff options
author | Martin Doucha <mdoucha@suse.cz> | 2024-01-23 17:05:06 +0100 |
---|---|---|
committer | Cyril Hrubis <chrubis@suse.cz> | 2024-01-25 15:20:37 +0100 |
commit | 3626124a42adfe536af2abff63213fa1ccc63795 (patch) | |
tree | e5a1de09f26f332763ff03b81b8e1bd230cdb377 | |
parent | 7d39a10b735f657ff6b2c4359b488e47710e696e (diff) | |
download | ltp-3626124a42adfe536af2abff63213fa1ccc63795.tar.gz |
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 <mdoucha@suse.cz>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
-rw-r--r-- | testcases/kernel/syscalls/fallocate/fallocate06.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testcases/kernel/syscalls/fallocate/fallocate06.c b/testcases/kernel/syscalls/fallocate/fallocate06.c index 124fb7eae..24f98e271 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, |