The patch titled Subject: fat: skip cluster allocation on fallocated region has been removed from the -mm tree. Its filename was fat-skip-cluster-allocation-on-fallocated-region.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ From: Namjae Jeon <namjae.jeon@xxxxxxxxxxx> Subject: fat: skip cluster allocation on fallocated region Skip new cluster allocation after checking i_blocks limit in _fat_get_block, because the blocks are already allocated in fallocated region. Signed-off-by: Namjae Jeon <namjae.jeon@xxxxxxxxxxx> Signed-off-by: Amit Sahrawat <a.sahrawat@xxxxxxxxxxx> Cc: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/fat/inode.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff -puN fs/fat/inode.c~fat-skip-cluster-allocation-on-fallocated-region fs/fat/inode.c --- a/fs/fat/inode.c~fat-skip-cluster-allocation-on-fallocated-region +++ a/fs/fat/inode.c @@ -144,7 +144,12 @@ static inline int __fat_get_block(struct } offset = (unsigned long)iblock & (sbi->sec_per_clus - 1); - if (!offset) { + /* + * allocate a cluster according to the following. + * 1) no more available blocks + * 2) not part of fallocate region + */ + if (!offset && !(iblock < (sector_t)inode->i_blocks)) { /* TODO: multiple cluster allocation would be desirable. */ err = fat_add_cluster(inode); if (err) _ Patches currently in -mm which might be from namjae.jeon@xxxxxxxxxxx are fat-permit-to-return-phy-block-number-by-fibmap-in-fallocated-region.patch documentation-filesystems-vfattxt-update-the-limitation-for-fat-fallocate.patch fat-fix-data-past-eof-resulting-from-fsx-testsuite.patch fat-fix-data-past-eof-resulting-from-fsx-testsuite-v2.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html