diff options
author | Justin TerAvest <teravest@google.com> | 2011-03-22 21:26:49 +0100 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-03-22 21:26:49 +0100 |
commit | eda5e0c91fed2d2a38a341b0957263406d330274 (patch) | |
tree | d09564b4ef18dc8f9703a3d67def655b24b992c8 /samples | |
parent | 1e9bb8808ac11094d711d20d580e7b45a4992d0c (diff) | |
download | op-kernel-dev-eda5e0c91fed2d2a38a341b0957263406d330274.zip op-kernel-dev-eda5e0c91fed2d2a38a341b0957263406d330274.tar.gz |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions