Skip to content

Commit

Permalink
Documentation/filesystems/vfat.txt: update the limitation for fat fal…
Browse files Browse the repository at this point in the history
…locate

Update the limitation for fat fallocate.

Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Amit Sahrawat <[email protected]>
Cc: OGAWA Hirofumi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
namjaejeon authored and torvalds committed Jan 21, 2016
1 parent 16fab20 commit 2801612
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Documentation/filesystems/vfat.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@ dos1xfloppy -- If set, use a fallback default BIOS Parameter Block

<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
Expand Down

0 comments on commit 2801612

Please sign in to comment.