[LTP] [RFC PATCH] fallocate05: increase the fallocate and defallocate size

Li Wang liwang@redhat.com
Fri Sep 24 06:18:45 CEST 2021


On Fri, Sep 24, 2021 at 9:49 AM Ralph Siemsen <ralph.siemsen@linaro.org>
wrote:

> Thanks for the suggestions!
>
> I have tried setting .dev_min_size = 64, in addition to setting
> FALLOCATE_BLOCKS back to the previous value of 16. Unfortunately I am
> still seeing OOM when filling the tmpfs. I am confident I made the
> change correctly, as I can see the message:
>

That's weird.

What about the testing result with unlimit the tmpfs size?

My second thoughts mentioned above (if it works, I will
fix it by following Cyril's suggestion).



> tst_test.c:903: TINFO: Limiting tmpfs size to 64MB
>

Hmm, set to 16MB, 32MB? test result?

Can you post the /proc/meminfo here? I'm curious how
small memory it is can not tolerate 64M consuming.



>
> For other filesystems (ext4/btrfs/vfat) the test is fine, and I get
> ENOSPC error as expected.
>
> I'm testing on kernel version 5.10.52 currently, but I could also switch
> back to 4.19. I'm on ARMv7 rather than amd64.
>
> Regards,
> Ralph
>
>

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210924/9c5d10a2/attachment-0001.htm>


More information about the ltp mailing list