[0/8] A few cleanup and bugfix patches for blk-iocost

Message ID 20221017020011.25016-1-shikemeng@huawei.com
Headers
Series A few cleanup and bugfix patches for blk-iocost |

Message

Kemeng Shi Oct. 17, 2022, 2 a.m. UTC
  This series contain a few patch to correct comment, correct trace of
vtime_rate and so on. More detail can be found in the respective
changelogs.
Thanks!

Kemeng Shi (8):
  blk-iocost: Fix typo in comment
  blk-iocost: Reset vtime_base_rate in ioc_refresh_params
  blk-iocost: Trace vtime_base_rate instead of vtime_rate
  blk-iocost: Remove vrate member in struct ioc_now
  blk-iocost: Correct comment in blk_iocost_init
  blk-iocost: Avoid to call current_hweight_max if iocg->inuse ==
    iocg->active
  blk-iocost: Remove redundant initialization of struct ioc_gq
  blk-iocost: Get ioc_now inside weight_updated

 block/blk-iocost.c            | 45 +++++++++++++++++------------------
 include/trace/events/iocost.h |  4 ++--
 2 files changed, 24 insertions(+), 25 deletions(-)