]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ext4: Fix small file fragmentation
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 18 Aug 2008 22:00:57 +0000 (18:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 18 Aug 2008 22:00:57 +0000 (18:00 -0400)
commit5e745b041f2ccad63077118b40468521306f3962
tree2a4d53c884f92899ee8e4f541c32861a4a577e1d
parent91246c009094142f95ecc7573b7caed2bcef52c7
ext4: Fix small file fragmentation

For small file block allocations, mballoc uses per cpu prealloc
space.  Use goal block when searching for the right prealloc
space.  Also make sure ext4_da_writepages tries to write
all the pages for small files in single attempt

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c
fs/ext4/mballoc.c