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(-) -- 2.46.1