Skip to contentSkip to conversation

fat: update the limitation for fat fallocate

PATCH Superseded Namjae Jeon 1 participant 1 message Dec 25, 2013

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 6/6 fat: update the limitation for fat fallocate

From: Namjae Jeon <[email protected]>

update the limitation for fat fallocate.

---
 Documentation/filesystems/vfat.txt |   10 ++++++++++
 1 file changed, 10 insertions(+)
Documentation/filesystems/vfat.txt +10 -0
index 4a93e98..5cf57b3 100644
@@ -175,6 +175,16 @@ nfs=stale_rw|nostale_ro
 
 <bool>: 0,1,yes,no,true,false
 
+LIMITATION
+---------------------------------------------------------------------
+* The fallocated region of file is discarded at umount/evict time
+  when using fallocate with FALLOC_FL_KEEP_SIZE.
+  So, User should assume that fallocated region can be discarded at
+  last close if there is memory pressure resulting in eviction of
+  the inode from the memory. As a result, for any dependency on
+  the fallocated region, user should make sure to recheck fallocate
+  after reopening the file.
+
 TODO
 ----------------------------------------------------------------------
 * Need to get rid of the raw scanning stuff.  Instead, always use
Signature · 1 line
1.7.9.5