mbox series

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

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

Message

Zizhi Wo April 17, 2025, 1:50 a.m. UTC
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 | 131 +++++++++++++++++++++++++++++++++----------
 block/blk-throttle.h |  19 +++----
 2 files changed, 108 insertions(+), 42 deletions(-)