<div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
5) Apply Li's patchset (with v2 of the 3rd patch)<br>
Exactly the same behaviour as 4)<br>
--> FAIL<br></blockquote><div><br></div><div><div style="font-size:small">Can you post the test log for this 5), it shouldn't be similar like 4)</div><div style="font-size:small">because we limit tmfs-size to 32MB in this case. and If you didn't remove</div><div style="font-size:small">.dev_min_size=512, it should be skip tmpfs test on your 153MB MemAva</div><div style="font-size:small">machine. </div><br></div><div><div style="font-size:small">With remove .dev_min_size=512 from fallocate05 in situation 5).</div></div><div><div style="font-size:small">If it is still OOM with 32MB tmpfs-size, I tend to agree with Cyril that is</div><div style="font-size:small">very likely you hit a kernel problem or configure issue.</div></div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">FYI, for quick test and show tmpfs mount info, you could add debug code:</div><div class="gmail_default" style="font-size:small"><br></div>--- a/testcases/kernel/syscalls/fallocate/fallocate05.c<br>+++ b/testcases/kernel/syscalls/fallocate/fallocate05.c<br>@@ -50,6 +50,8 @@ static void setup(void)<br> bufsize = FALLOCATE_BLOCKS * blocksize;<br> buf = SAFE_MALLOC(bufsize);<br> SAFE_CLOSE(fd);<br>+<br>+ tst_system("mount | column -t<span class="gmail_default" style="font-size:small"> |grep tmpfs</span>");<br> }<br> <br> static void run(void)<br>@@ -153,4 +155,14 @@ static struct tst_test test = {<br> .setup = setup,<br> .cleanup = cleanup,<br> .test_all = run,<br>+ .skip_filesystems = (const char *const []) {<br>+ "ext2",<br>+ "ext3",<br>+ "ext4",<br>+ "nfs",<br>+ "xfs",<br>+ "ntfs",<br>+ "btrfs",<br>+ NULL<br>+ },<br> };<br><div class="gmail_default" style="font-size:small"></div><br></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>