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 /block/blk-cgroup.c | |
parent | block: fix non-atomic access to genhd inflight structures (diff) | |
download | linux-eda5e0c91fed2d2a38a341b0957263406d330274.tar.xz linux-eda5e0c91fed2d2a38a341b0957263406d330274.zip |
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 '')
0 files changed, 0 insertions, 0 deletions