Re: [PATCH v2 0/5] fat: additions to support fat_fallocate
From: OGAWA Hirofumi
Date: Sun Dec 01 2013 - 07:56:53 EST
Namjae Jeon <linkinjeon@xxxxxxxxx> writes:
> From: Namjae Jeon <namjae.jeon@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/