Skip to content

Commit

Permalink
fallocate06: Increase test loop device size to 1GB
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mdoucha authored and metan-ucw committed Jan 25, 2024
1 parent 7d39a10 commit 3626124
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testcases/kernel/syscalls/fallocate/fallocate06.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3626124

Please sign in to comment.