diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-10-02 13:19:48 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-10-22 08:14:56 -0600 |
commit | 8933805623fafc0e276ddd8110672068c5bd9763 (patch) | |
tree | b3d348a7f7bfb5d79ed31d9a925b97eb730b49a7 /block/blk-mq-debugfs.h | |
parent | 42f7652d3eb527d03665b09edac47f85fb600924 (diff) |
block: move iostat check into blk_acount_io_start()
Rather than have blk_do_io_stat() check for both RQF_IO_STAT and whether
the request is a passthrough requests every time, move both of those
checks into blk_account_io_start(). Then blk_do_io_stat() can be reduced
to just checking for RQF_IO_STAT.
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.h')
0 files changed, 0 insertions, 0 deletions