aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-08-19 21:14:52 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-08-19 21:14:52 -0400
commit91246c009094142f95ecc7573b7caed2bcef52c7 (patch)
treedf84e815f9441f24558cf5d22dcc61d8b222497e /fs/ext4/mballoc.c
parent16eb72956496594d023a7d7cd14a86404ad195ad (diff)
ext4: Initialize writeback_index to 0 when allocating a new inode
The write_cache_pages() function uses the mapping->writeback_index as the starting index to write out when range_cyclic is set. Properly initialize writeback_index so that we start the writeout at index 0. This was found when debugging the small file fragmentation on ext4. 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/mballoc.c')
0 files changed, 0 insertions, 0 deletions