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

Li Wang liwang@redhat.com
Thu Sep 23 08:39:24 CEST 2021


> I do not think that it's a good idea to pass ~100MB buffer to a single
> write()
> and expect it to succeed anyways.
>

I suddenly realized that it is 1MB buffer but not 100MB, so that block
number
is not the key point for OOM.

1 Block == 4k on x86_64,
256 * 4k == 1024kB == 1MB

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


More information about the ltp mailing list