Re: [PATCH 0/2] block: support to account io_ticks precisely

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

 



Hi,

在 2024/04/06 15:57, Yu Kuai 写道:
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.

Friendly ping ...

Thanks!
Kuai

在 2024/03/23 11:59, Yu Kuai 写道:
From: Yu Kuai <yukuai3@xxxxxxxxxx>

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(-)


.






[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