From: Aneesh Kumar K.V Date: Thu, 16 Oct 2008 14:10:36 +0000 (-0400) Subject: ext4: Fix file fragmentation during large file write. X-Git-Tag: v2.6.28-rc1~257^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22208dedbd7626e5fc4339c417f8d24cc21f79d7;p=pandora-kernel.git ext4: Fix file fragmentation during large file write. The range_cyclic writeback mode uses the address_space writeback_index as the start index for writeback. With delayed allocation we were updating writeback_index wrongly resulting in highly fragmented file. This patch reduces the number of extents reduced from 4000 to 27 for a 3GB file. Signed-off-by: Aneesh Kumar K.V Signed-off-by: Theodore Ts'o --- Reading git-diff-tree failed