Skip to contentSkip to conversation

fat: additions to support fat_fallocate

PATCH Superseded Namjae Jeon 2 participants 3 messages Nov 17, 2013 – Dec 5, 2013 VFS

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 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.

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

Namjae Jeon (5):
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

Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 11 lines · Namjae Jeon

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.

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

Quoted 6 lines

Namjae Jeon (5):
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

Let's add document about FAT's fallocate() behavior to Documents/filesystem/vfat.txt.

I.e. it will be truncated evict_inode(). So, user has to assume fallocate() is only valid until last close(), and user has to re-call fallocate() after re-open to make sure fallocate() region.

Signature · 1 line
OGAWA Hirofumi <[email protected]>
#2 lore raw

2013/12/1, OGAWA Hirofumi <[email protected]>:

Quoted 21 lines
Quoted 11 lines · Namjae Jeon

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.

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

Quoted 7 lines

Namjae Jeon (5):
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

Quoted 6 lines

Let's add document about FAT's fallocate() behavior to Documents/filesystem/vfat.txt.

I.e. it will be truncated evict_inode(). So, user has to assume fallocate() is only valid until last close(), and user has to re-call fallocate() after re-open to make sure fallocate() region.

Right. I will update vfat document.

Thanks for review.

Quoted 3 lines

--
OGAWA Hirofumi <[email protected]>