From: Vivek Goyal Date: Mon, 15 Nov 2010 18:32:42 +0000 (+0100) Subject: blk-throttle: Fix calculation of max number of WRITES to be dispatched X-Git-Tag: v2.6.37-rc4~22^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2f6805d470af369a7337801deeecea800dbfe1c;p=pandora-kernel.git blk-throttle: Fix calculation of max number of WRITES to be dispatched o Currently we try to dispatch more READS and less WRITES (75%, 25%) in one dispatch round. ummy pointed out that there is a bug in max_nr_writes calculation. This patch fixes it. Reported-by: ummy y Signed-off-by: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed