From: Jens Axboe Date: Wed, 14 Feb 2007 18:59:49 +0000 (+0100) Subject: cfq-iosched: improve preemption for cooperating tasks X-Git-Tag: v2.6.22-rc1~1108^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e3335de05da3dfbe48b8caa03db1834a2133256;p=pandora-kernel.git cfq-iosched: improve preemption for cooperating tasks When testing the syslet async io approach, I discovered that CFQ sometimes didn't perform as well as expected. cfq_should_preempt() needs to better check for cooperating tasks, so fix that by allowing preemption of an equal priority queue if the recently queued request is as good a candidate for IO as the one we are currently waiting for. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed