diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-09-29 13:31:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-14 08:06:55 -0800 |
commit | 54088f5df9e352c41ef0f2eeb17ec9ae995ab4b3 (patch) | |
tree | 3f74b190e291a0896ca6109dee1f5abe41399fb3 /fs/configfs | |
parent | 0be3bd025b9893a0f2ed3d1cbeb06d7abc0e27df (diff) |
ext4: Adjust ext4_da_writepages() to write out larger contiguous chunks
(cherry picked from commit 55138e0bc29c0751e2152df9ad35deea542f29b3)
Work around problems in the writeback code to force out writebacks in
larger chunks than just 4mb, which is just too small. This also works
around limitations in the ext4 block allocator, which can't allocate
more than 2048 blocks at a time. So we need to defeat the round-robin
characteristics of the writeback code and try to write out as many
blocks in one inode before allowing the writeback code to move on to
another inode. We add a a new per-filesystem tunable,
max_writeback_mb_bump, which caps this to a default of 128mb per
inode.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/configfs')
0 files changed, 0 insertions, 0 deletions