From: Justin TerAvest Date: Tue, 22 Mar 2011 20:26:49 +0000 (+0100) Subject: cfq-iosched: Don't set active queue in preempt X-Git-Tag: v2.6.39-rc1~80^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eda5e0c91fed2d2a38a341b0957263406d330274;p=pandora-kernel.git cfq-iosched: Don't set active queue in preempt Commit "Add unaccounted time to timeslice_used" changed the behavior of cfq_preempt_queue to set cfqq active. Vivek pointed out that other preemption rules might get involved, so we shouldn't manually set which queue is active. This cleans up the code to just clear the queue stats at preemption time. Signed-off-by: Justin TerAvest Signed-off-by: Jens Axboe --- Reading git-diff-tree failed