Messages in this thread | | | From | OGAWA Hirofumi <> | Subject | Re: [PATCH v2 0/5] fat: additions to support fat_fallocate | Date | Sun, 01 Dec 2013 21:56:44 +0900 |
| |
Namjae Jeon <linkinjeon@gmail.com> writes:
> From: Namjae Jeon <namjae.jeon@samsung.com> > > 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
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. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
| |