[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230815014123.368929-1-yukuai1@huaweicloud.com>
Date: Tue, 15 Aug 2023 09:41:19 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: tj@...nel.org, josef@...icpanda.com, axboe@...nel.dk,
yukuai3@...wei.com, mkoutny@...e.com
Cc: cgroups@...r.kernel.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, yukuai1@...weicloud.com,
yi.zhang@...wei.com, yangerkun@...wei.com
Subject: [PATCH -next 0/4] cleanup and fixes for 'carryover_ios/bytes'
From: Yu Kuai <yukuai3@...wei.com>
Patch 1 print signed value for 'carryover_ios/bytes' to user.
Patch 2 fix that comparation ”unsigned value < negative value“ will
pass, causing that io won't be throttled in the silce.
Patch 3,4 fix that 'carryover_ios/bytes' is not cleared while
'io/bytes_disp' is cleared, causing that throttle is not accurate.
Yu Kuai (4):
blk-throttle: print signed value 'carryover_bytes/ios' for user
blk-throttle: fix wrong comparation while 'carryover_ios/bytes' is
negative
blk-throttle: use calculate_io/bytes_allowed() for throtl_trim_slice()
blk-throttle: consider 'carryover_ios/bytes' in throtl_trim_slice()
block/blk-throttle.c | 105 +++++++++++++++++++++----------------------
block/blk-throttle.h | 4 +-
2 files changed, 54 insertions(+), 55 deletions(-)
--
2.39.2
Powered by blists - more mailing lists