fat: additions to support fat_fallocate
v4 cover 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