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