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)
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>

No differences found