From: Jan Kara Date: Tue, 4 Jun 2013 16:50:24 +0000 (-0400) Subject: ext4: stop messing with nr_to_write in ext4_da_writepages() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~83^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39bba40b7a1467ddba1a47a78dca0ab7a728d0b7;p=pandora-kernel.git 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 Signed-off-by: Jan Kara Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed