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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux