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 <teravest@google.com> Signed-off-by:
Jens Axboe <jaxboe@fusionio.com>
Loading
Please register or sign in to comment