Skip to content

fat: additions to support fat_fallocate

Namjae Jeon linux-fsdevel lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 5 repliesIn review
  2. v36 patches 18 repliesSuperseded
  3. v25 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches10 repliesSuperseded

Changes in v4 from the cover letter

- ->i_disksize is aligned by block size in fill_inode.
- use i_disksize when computing the number of cluster for fallocate.
- make fat_get_block_bmap to avoid race issue.
- use __fat_write_inode() with inode_needs_sync() in evict.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6fat: add i_disksize to represent uninitialized sizefs/fat/cache.c fs/fat/fat.h fs/fat/file.c +1 more+15 -71 reply
2/6fat: add fat_fallocate operationfs/fat/file.c fs/fat/inode.c+96 -01 reply
3/6fat: zero out seek range on _fat_get_blockfs/fat/inode.c+23 -12 replies
4/6fat: fallback to buffered write in case of fallocated region on direct IOfs/fat/inode.c+7 -00 replies
5/6fat: permit to return phy block number by fibmap in fallocated regionfs/fat/cache.c fs/fat/fat.h fs/fat/inode.c+78 -141 reply
6/6Documentation/filesystems/vfat.txt: update the limitation for fat fallocateDocumentation/filesystems/vfat.txt+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/6] fat: additions to support fat_fallocate

From: Namjae Jeon <[email protected]>

This patch set provides support for doing fallocate operation on FAT filesystem.
After series of review for the the feature
The complete functionality is broken down into smaller subsets.

v4:
- ->i_disksize is aligned by block size in fill_inode.
- use i_disksize when computing the number of cluster for fallocate.
- make fat_get_block_bmap to avoid race issue.
- use __fat_write_inode() with inode_needs_sync() in evict.

v3:
- fix i_disksize and mmu_private comments(uninit/initialized)
- remove unneeded condition in fat_bmap.
- use mmu_private instead of fclus in fat_fallocate.
- make function mark buffer new for block in fallocated region.
- use flags for bmap.
- use mmu_private instead of i_size in direct_IO.
- use flags and remove i_mutex in bmap.
- update vfat documentation.

v2:
- remove a stary unlock(from Dan Carpenter)
- check ->mmu_private and ->i_disksize to truncate uninitialized data.

Namjae Jeon (6):
fat: add i_disksize to represent uninitialized size
fat: add fat_fallocate operation
fat: zero out seek range on _fat_get_block
fat: fallback to buffered write in case of fallocatded region on direct IO
fat: permit to return phy block number by fibmap in fallocated region
fat: update the limitation for fat fallocate

Signature · 1 line
1.7.11-rc0