diff options
author | 2024-10-02 13:19:48 -0600 | |
---|---|---|
committer | 2024-10-22 08:14:56 -0600 | |
commit | 8933805623fafc0e276ddd8110672068c5bd9763 (patch) | |
tree | b3d348a7f7bfb5d79ed31d9a925b97eb730b49a7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 6.12-rc4 (diff) | |
download | wireguard-linux-8933805623fafc0e276ddd8110672068c5bd9763.tar.xz wireguard-linux-8933805623fafc0e276ddd8110672068c5bd9763.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions