aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <[email protected]>2008-10-16 14:10:36 +0000
committerTheodore Ts'o <[email protected]>2008-10-16 14:10:36 +0000
commit22208dedbd7626e5fc4339c417f8d24cc21f79d7 (patch)
treed03fc8524dc7cb2f18c2038ffe4d2146903f630e /lib/bitmap.c
parentvfs: Add no_nrwrite_index_update writeback control flag (diff)
downloadkernel-22208dedbd7626e5fc4339c417f8d24cc21f79d7.tar.gz
kernel-22208dedbd7626e5fc4339c417f8d24cc21f79d7.zip
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 <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions