cfq-iosched: Don't set active queue in preempt
authorJustin TerAvest <teravest@google.com>
Tue, 22 Mar 2011 20:26:49 +0000 (21:26 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 22 Mar 2011 20:26:49 +0000 (21:26 +0100)
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 <teravest@google.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

No differences found