mbox series

[v2,for-6.10/block,0/2] block: fix user-aware inaccurate util

Message ID 20240509123717.3223892-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series block: fix user-aware inaccurate util | expand

Message

Yu Kuai May 9, 2024, 12:37 p.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

Changes in v2:
 - just replace blk_mq_in_flight() with part_in_flight() for
 diskstats_show() and part_stat_show() in patch 2;

Yu Kuai (2):
  block: support to account io_ticks precisely
  block: fix that util can be greater than 100%

 block/blk-core.c  |  9 +++++----
 block/blk-merge.c |  2 ++
 block/blk-mq.c    |  4 ++++
 block/blk.h       |  1 +
 block/genhd.c     | 14 +++-----------
 5 files changed, 15 insertions(+), 15 deletions(-)

Comments

Jens Axboe May 9, 2024, 2:02 p.m. UTC | #1
On Thu, 09 May 2024 20:37:15 +0800, Yu Kuai wrote:
> Changes in v2:
>  - just replace blk_mq_in_flight() with part_in_flight() for
>  diskstats_show() and part_stat_show() in patch 2;
> 
> Yu Kuai (2):
>   block: support to account io_ticks precisely
>   block: fix that util can be greater than 100%
> 
> [...]

Applied, thanks!

[1/2] block: support to account io_ticks precisely
      commit: 99dc422335d8b2bd4d105797241d3e715bae90e9
[2/2] block: fix that util can be greater than 100%
      commit: 7be835694daebbb4adffbc461519081aa0cf28e1

Best regards,