Haisu Wang b81c14ca14 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>
2022-05-30 07:13:12 -06:00
..
2022-03-21 16:48:55 -07:00
2022-03-26 11:51:46 -07:00
2021-12-06 13:18:47 -07:00
2020-03-17 20:55:21 +01:00
2022-03-08 19:39:38 -07:00
2022-03-24 19:37:53 -07:00
2022-03-31 12:58:38 -06:00
2022-03-24 19:37:53 -07:00
2021-09-14 00:22:15 -04:00
2022-02-02 07:49:59 -07:00
2022-03-21 16:48:55 -07:00
2021-10-18 06:17:01 -06:00
2022-04-17 19:49:59 -06:00
2022-02-02 07:49:59 -07:00
2022-01-12 10:26:52 -08:00
2022-03-07 12:48:35 -07:00
2022-02-02 07:49:59 -07:00
2022-03-07 12:48:35 -07:00