diff options
| author | Jens Axboe <axboe@kernel.dk> | 2024-10-02 22:19:48 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2024-10-22 17:14:56 +0300 |
| commit | 8933805623fafc0e276ddd8110672068c5bd9763 (patch) | |
| tree | b3d348a7f7bfb5d79ed31d9a925b97eb730b49a7 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | 42f7652d3eb527d03665b09edac47f85fb600924 (diff) | |
| download | linux-8933805623fafc0e276ddd8110672068c5bd9763.tar.xz | |
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 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
