diff options
| author | Aneesh Kumar K.V <[email protected]> | 2008-08-20 01:14:52 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2008-08-20 01:14:52 +0000 |
| commit | 91246c009094142f95ecc7573b7caed2bcef52c7 (patch) | |
| tree | df84e815f9441f24558cf5d22dcc61d8b222497e /lib/debugobjects.c | |
| parent | ext4: make sure ext4_has_free_blocks returns 0 for ENOSPC (diff) | |
| download | kernel-91246c009094142f95ecc7573b7caed2bcef52c7.tar.gz kernel-91246c009094142f95ecc7573b7caed2bcef52c7.zip | |
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 <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
