diff options
author | Kemeng Shi <shikemeng@huawei.com> | 2022-10-18 14:19:29 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-12-01 15:44:12 +0100 |
commit | c6d2efdd38b4e45741e103b6338f08e5ff2aae03 (patch) | |
tree | d9157107f4d5fe1955d556c7986c2231efdffb02 /include/trace/events/iocost.h | |
parent | blk-iocost: Fix typo in comment (diff) | |
download | linux-c6d2efdd38b4e45741e103b6338f08e5ff2aae03.tar.xz linux-c6d2efdd38b4e45741e103b6338f08e5ff2aae03.zip |
blk-iocost: Reset vtime_base_rate in ioc_refresh_params
Since commit ac33e91e2daca("blk-iocost: implement vtime loss compensation")
split vtime_rate into vtime_rate and vtime_base_rate, we need reset both
vtime_base_rate and vtime_rate when device parameters are refreshed.
If vtime_base_rate is no reset here, vtime_rate will be overwritten with
old vtime_base_rate soon in ioc_refresh_vrate.
Signed-off-by: Kemeng Shi <shikemeng@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20221018121932.10792-3-shikemeng@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions