[LTP] [PATCH] fallocate06: Increase test loop device size to 1GB
Martin Doucha
mdoucha@suse.cz
Tue Jan 23 17:05:06 CET 2024
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>
---
Tested on affected SLE beta kernel.
testcases/kernel/syscalls/fallocate/fallocate06.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/kernel/syscalls/fallocate/fallocate06.c b/testcases/kernel/syscalls/fallocate/fallocate06.c
index 124fb7eae..83b4d88e6 100644
--- a/testcases/kernel/syscalls/fallocate/fallocate06.c
+++ b/testcases/kernel/syscalls/fallocate/fallocate06.c
@@ -260,6 +260,7 @@ static struct tst_test test = {
.test = run,
.tcnt = ARRAY_SIZE(testcase_list),
.needs_root = 1,
+ .dev_min_size = 1024,
.mount_device = 1,
.mntpoint = MNTPOINT,
.all_filesystems = 1,
--
2.42.1
More information about the ltp
mailing list