[LTP] [RFC PATCH] fallocate05: increase the fallocate and defallocate size
Ralph Siemsen
ralph.siemsen@linaro.org
Tue Sep 21 22:33:49 CEST 2021
Hello,
On Tue, Aug 17, 2021 at 06:46:25PM +0800, Li Wang wrote:
>
>diff --git a/testcases/kernel/syscalls/fallocate/fallocate05.c b/testcases/kernel/syscalls/fallocate/fallocate05.c
>index 55ec1aee4..74bfa4861 100644
>--- a/testcases/kernel/syscalls/fallocate/fallocate05.c
>+++ b/testcases/kernel/syscalls/fallocate/fallocate05.c
>@@ -26,8 +26,8 @@
> #include "lapi/fallocate.h"
>
> #define MNTPOINT "mntpoint"
>-#define FALLOCATE_BLOCKS 16
>-#define DEALLOCATE_BLOCKS 4
>+#define FALLOCATE_BLOCKS 256
>+#define DEALLOCATE_BLOCKS 64
> #define TESTED_FLAGS "fallocate(FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE)"
>
> static char *buf;
This change appears seems to be causing fallocate05 test to reliably
trigger OOM (out of memory) on my test machine, which has only 256MB
RAM.
I previously used the 20210524 and 20200120 release versions, and did
not encounter this problem.
Regards,
Ralph
More information about the ltp
mailing list