diff options
author | 2022-05-30 14:40:59 +0800 | |
---|---|---|
committer | 2022-05-30 07:13:12 -0600 | |
commit | b81c14ca14b631aa1abae32fb5ae75b5e9251012 (patch) | |
tree | 5e0316e3a89a8ef34c189c463f346137d72fdba1 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | block: make bioset_exit() fully resilient against being called twice (diff) | |
download | linux-dev-b81c14ca14b631aa1abae32fb5ae75b5e9251012.tar.xz linux-dev-b81c14ca14b631aa1abae32fb5ae75b5e9251012.zip |
blk-mq: do not update io_ticks with passthrough requests
Flush or passthrough requests are not accounted as normal IO in completion.
To reflect iostat for slow IO, io_ticks is updated when stat show called
based on inflight numbers.
It may cause inconsistent io_ticks calculation result.
So do not account non-passthrough request when check inflight.
Fixes: 86d7331299fd ("block: update io_ticks when io hang")
Signed-off-by: Haisu Wang <haisuwang@tencent.com>
Reviewed-by: samuelliao <samuelliao@tencent.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220530064059.1120058-1-haisuwang@tencent.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions