summaryrefslogtreecommitdiff
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-06-04 12:50:24 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-06-04 12:50:24 -0400
commit39bba40b7a1467ddba1a47a78dca0ab7a728d0b7 (patch)
tree16ce26b2c7bb9c2fcb598d7396069537d61da6b5 /fs/ext4/super.c
parent5fe2fe895a9a6b857e2f3a7fc5b8f080b03fd55f (diff)
ext4: stop messing with nr_to_write in ext4_da_writepages()
Writeback code got better in how it submits IO and now the number of pages requested to be written is usually higher than original 1024. The number is now dynamically computed based on observed throughput and is set to be about 0.5 s worth of writeback. E.g. on ordinary SATA drive this ends up somewhere around 10000 as my testing shows. So remove the unnecessary smarts from ext4_da_writepages(). Reviewed-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions