mbox series

[0/3] blk-throttle: remove last_bytes/ios and carryover byte/ios

Message ID 20250305043123.3938491-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series blk-throttle: remove last_bytes/ios and carryover byte/ios | expand

Message

Ming Lei March 5, 2025, 4:31 a.m. UTC
Hello,

Remove last_bytes_disp and last_ios_disp which isn't used any more.

Remove carryover bytes/ios because we can carry the compensation bytes/ios
against dispatch bytes/ios directly.

Depends on "[PATCH v2] blk-throttle: fix lower bps rate by throtl_trim_slice()"[1]

[1] https://lore.kernel.org/linux-block/20250227120645.812815-1-yukuai1@huaweicloud.com/raw

Thanks,
Ming

Cc: Tejun Heo <tj@kernel.org>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Yu Kuai <yukuai3@huawei.com>

Ming Lei (3):
  blk-throttle: remove last_bytes_disp and last_ios_disp
  blk-throttle: don't take carryover for prioritized processing of
    metadata
  blk-throttle: carry over directly

 block/blk-throttle.c | 69 +++++++++++++++++---------------------------
 block/blk-throttle.h |  7 ++---
 2 files changed, 29 insertions(+), 47 deletions(-)

Comments

Jens Axboe March 5, 2025, 11:25 p.m. UTC | #1
On Wed, 05 Mar 2025 12:31:18 +0800, Ming Lei wrote:
> Remove last_bytes_disp and last_ios_disp which isn't used any more.
> 
> Remove carryover bytes/ios because we can carry the compensation bytes/ios
> against dispatch bytes/ios directly.
> 
> Depends on "[PATCH v2] blk-throttle: fix lower bps rate by throtl_trim_slice()"[1]
> 
> [...]

Applied, thanks!

[1/3] blk-throttle: remove last_bytes_disp and last_ios_disp
      commit: 483a393e7e6189aac7d47b5295029159ab7a1cf1
[2/3] blk-throttle: don't take carryover for prioritized processing of metadata
      commit: a9fc8868b350cbf4ff730a4ea9651319cc669516
[3/3] blk-throttle: carry over directly
      commit: 6cc477c36875ea5329b8bfbdf4d91f83dc653c91

Best regards,