blk-iocost: Factor out the base vrate change into a separate function
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Thu, 26 Nov 2020 08:16:15 +0000 (16:16 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Dec 2020 20:20:31 +0000 (13:20 -0700)
commit926f75f6a9ef503d45dced061e304d0324beeba1
treea708adfe241c227652af672d9af68a9601a0206d
parent2474787a75b4f358e81f367653c73edecd67aa2d
blk-iocost: Factor out the base vrate change into a separate function

Factor out the base vrate change code into a separate function
to fimplify the ioc_timer_fn().

No functional change.

Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iocost.c