diff options
author | Shaohua Li <shaohua.li@intel.com> | 2012-01-19 09:20:09 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-01-19 09:20:09 +0100 |
commit | df0793abb929e66606fa25f3875ff1b89de5ad32 (patch) | |
tree | fa53e6e4e7f4a6773f45173132bbfd77908f7c17 /block/blk-core.c | |
parent | 90a4c0f51e8e44111a926be6f4c87af3938a79c3 (diff) |
block,cfq: change code order
cfq_slice_expired will change saved_workload_slice. It should be called
first so saved_workload_slice is correctly set to 0 after workload type
is changed.
This fixes the code order changed by 54b466e44b1c7.
Tested-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions