From: Aneesh Kumar K.V Date: Fri, 11 Jul 2008 23:27:31 +0000 (-0400) Subject: ext4: Use inode preallocation with -o noextents X-Git-Tag: v2.6.27-rc1~1087^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7061eba75ceb0835ba61e7cbd757a6f9c1e4af92;p=pandora-kernel.git ext4: Use inode preallocation with -o noextents When mballoc is enabled, block allocation for old block-based files are allocated using mballoc allocator instead of old block-based allocator. The old ext3 block reservation is turned off when mballoc is turned on. However, the in-core preallocation is not enabled for block-based/ non-extent based file block allocation. This result in performance regression, as now we don't have "reservation" ore in-core preallocation to prevent interleaved fragmentation in multiple writes workload. This patch fix this by enable per inode in-core preallocation for non extent files when mballoc is used. Signed-off-by: Aneesh Kumar K.V Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed