commit | eda5e0c91fed2d2a38a341b0957263406d330274 | [log] [tgz] |
---|---|---|
author | Justin TerAvest <teravest@google.com> | Tue Mar 22 21:26:49 2011 +0100 |
committer | Jens Axboe <jaxboe@fusionio.com> | Tue Mar 22 21:26:49 2011 +0100 |
tree | d09564b4ef18dc8f9703a3d67def655b24b992c8 | |
parent | 1e9bb8808ac11094d711d20d580e7b45a4992d0c [diff] |
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>