[00/11] A few bugfix and cleanup patches for blk-throttle

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

Message

Kemeng Shi Nov. 23, 2022, 6:03 a.m. UTC
  Hi, this series contain a few patches to fix problem when on the default
hierarchy, corrent comment and so on. More detail can be found in
respective changelogs. Thanks.

Kemeng Shi (11):
  blk-throttle: Limit whole system if root group is configured when on
    the default hierarchy
  blk-throttle: Fix that bps of child could exceed bps limited in parent
  blk-throttle: ignore cgroup without io queued in
    blk_throtl_cancel_bios
  blk-throttle: correct calculation of wait time in tg_may_dispatch
  blk-throttle: simpfy low limit reached check in throtl_tg_can_upgrade
  blk-throttle: fix typo in comment of throtl_adjusted_limit
  blk-throttle: remove incorrect comment for tg_last_low_overflow_time
  blk-throttle: remove repeat check of elapsed time from last upgrade in
    throtl_hierarchy_can_downgrade
  blk-throttle: remove unnecessary check for validation of limit index
  blk-throttle: remove unused variable td in tg_update_has_rules
  blk-throttle: Use more siutable time_after check for update
    slice_start

 block/blk-throttle.c | 98 ++++++++++++++++++--------------------------
 1 file changed, 39 insertions(+), 59 deletions(-)