* [BUG] tmpfs:losing data when preallocating space multiple times with fallocate
@ 2022-10-31 15:13 陈国祺
0 siblings, 0 replies; only message in thread
From: 陈国祺 @ 2022-10-31 15:13 UTC (permalink / raw)
To: linux-mm; +Cc: chenhuacai, wangrui
Hi, all
When using the system call fallocate to pre-allocate more space on the tmpfs file
system, if the kernel returns an error EINTR, the original data on the file will
be lost (it seems to be the beginning of the file every time, the size is one page).
- Test case: https://github.com/abner-chenc/abner/blob/master/fallocate.c
- Kernel commit: b229b6ca5abbd63ff40c1396095b1b36b18139c3
- Arch: x86, loongarch64
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-31 15:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31 15:13 [BUG] tmpfs:losing data when preallocating space multiple times with fallocate 陈国祺
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox