commit | 22208dedbd7626e5fc4339c417f8d24cc21f79d7 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Thu Oct 16 10:10:36 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Oct 16 10:10:36 2008 -0400 |
tree | d03fc8524dc7cb2f18c2038ffe4d2146903f630e | |
parent | 17bc6c30cf6bfffd816bdc53682dd46fc34a2cf4 [diff] |
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 <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>