diff options
author | Jan Kara <jack@suse.cz> | 2013-06-04 12:50:24 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-06-04 12:50:24 -0400 |
commit | 39bba40b7a1467ddba1a47a78dca0ab7a728d0b7 (patch) | |
tree | 16ce26b2c7bb9c2fcb598d7396069537d61da6b5 /crypto/gcm.c | |
parent | 5fe2fe895a9a6b857e2f3a7fc5b8f080b03fd55f (diff) | |
download | blackbird-op-linux-39bba40b7a1467ddba1a47a78dca0ab7a728d0b7.tar.gz blackbird-op-linux-39bba40b7a1467ddba1a47a78dca0ab7a728d0b7.zip |
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 'crypto/gcm.c')
0 files changed, 0 insertions, 0 deletions