On 32-bit machine, the s_maxbytes is larger than the MAX_LFS_FILESIZE limits if CONFIG_LBDAF is not enabled. Hence it's possible to create a huge file via buffered-IO write with a given offset beyond
I'll try this patch tonight. Thanks! BTW, after failures with CONFIG_LBDAF=n in previous xfstests, my kernels should have CONFIG_LBDAF=y, but I could be wrong. I'll check this when I get back to my t
I'll have to test this yet more, but preliminary results on a patched 3.9-rc6-git-sgi-dave-crc kernel look good: These were done on a 32-bit Pentium 4, BTW: generic/308, in order of testing... [F/F]
Update: My tests on my original hardware go exactly as they did in my Pentium 4 test. xfstests shared/[0-9][0-9][0-9] and xfs/003 through xfs/136 were run against it. No problems. Good job. I'm keepi
Hi Michael, Thanks a lot for help verifying this fix and sorry for my too late response since I have traveled to US two days ago. Ooops! it's wrong. My answer is misleading, you can think that I drin
You're welcome. Thanks for the explanation. Now everything makes logical sense. I'll re-run the tests with different block sizes. The tests have been run already with a) default mkfs options and b) w
Sorry, I missed it. Isn't MAX_LFS_FILESIZE defined on 32 bit systems to 8TB and the problem here is that we are overflowing at 16TB? If so, that means addin gthis patch will potentially cause problem
Hi Dave, Thanks for the quick response. Yes, but maybe I should say end_index is wrapped to zero rather than overflow in this situation. It seems that this change does not works to me because page->i