lkml.org 
[lkml]   [2024]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/2] block: support to account io_ticks precisely
From
Date
Hi, Jens!
Hi, Ming!
Hi, Christoph!
Hi, Bart!

Friendly ping ...

The 'util' reported by iostat is very important for users, they don't
have much choise to get disk status, while 'util' has been inaccurate
for a long time unnecessarily. I really think patch 1 is meaningful.

Patch 2 also tries to fix a problem by our customer that util can
sometimes be huge. The root cause is that 'inflight' is account from
blk_mq_start_request() while 'io_ticks' is account from
blk_account_io_start(), there is a gap. I let 'inflight' to be account
from blk_account_io_start() as well, please let me know if this is not
good.

Thanks!
Kuai

在 2024/03/23 11:59, Yu Kuai 写道:
> From: Yu Kuai <yukuai3@huawei.com>
>
> Yu Kuai (2):
> block: support to account io_ticks precisely
> block: remove blk_mq_in_flight() and blk_mq_in_flight_rw()
>
> block/blk-core.c | 9 +++++----
> block/blk-merge.c | 2 ++
> block/blk-mq.c | 36 ++++--------------------------------
> block/blk-mq.h | 5 -----
> block/blk.h | 1 +
> block/genhd.c | 20 ++++----------------
> 6 files changed, 16 insertions(+), 57 deletions(-)
>


\
 
 \ /
  Last update: 2024-05-27 16:27    [W:0.090 / U:3.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site