commit | df0793abb929e66606fa25f3875ff1b89de5ad32 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shaohua.li@intel.com> | Thu Jan 19 09:20:09 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jan 19 09:20:09 2012 +0100 |
tree | fa53e6e4e7f4a6773f45173132bbfd77908f7c17 | |
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>