Skip to contentSkip to conversation

Documentation/filesystems/vfat.txt: update the limitation for fat fallocate

PATCH In review Namjae Jeon 1 participant 1 message Mar 2, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v4 6/6 Documentation/filesystems/vfat.txt: 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.11-rc0