mbox series

[V2,0/3] blk-throttle: Some bugfixes and modifications

Message ID 20250417132054.2866409-1-wozizhi@huaweicloud.com (mailing list archive)
Headers show
Series blk-throttle: Some bugfixes and modifications | expand

Message

Zizhi Wo April 17, 2025, 1:20 p.m. UTC
Changes since V1:
Modified patch 1 and 3 to make the changes more concise, without
introducing additional logic changes.

The patchset mainly address the update logic of tg->[bytes/io]_disp and add
related overflow checks. The last patch also simplified the process.

Zizhi Wo (3):
  blk-throttle: Fix wrong tg->[bytes/io]_disp update in
    __tg_update_carryover()
  blk-throttle: Delete unnecessary carryover-related fields from
    throtl_grp
  blk-throttle: Add an additional overflow check to the call
    calculate_bytes/io_allowed

 block/blk-throttle.c | 113 +++++++++++++++++++++++++++++++------------
 block/blk-throttle.h |  19 +++-----
 2 files changed, 90 insertions(+), 42 deletions(-)