aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-10-16 10:10:36 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-10-16 10:10:36 -0400
commit22208dedbd7626e5fc4339c417f8d24cc21f79d7 (patch)
treed03fc8524dc7cb2f18c2038ffe4d2146903f630e /fs/ext4/super.c
parent17bc6c30cf6bfffd816bdc53682dd46fc34a2cf4 (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>
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions