aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2019-10-10 17:36:26 -0600
committerJens Axboe <[email protected]>2019-10-10 17:52:31 -0600
commit48d9b0d43105e0da2b7c135eedd24e51234fb5e4 (patch)
tree66eb670f7ef6dfe762e969f8b2992aced40194a0 /net/switchdev/switchdev.c
parent8148f0b5647a831c5d94b59da240c8e76dbacae9 (diff)
block: account statistics for passthrough requests
Presently, passthrough requests are not accounted for because blk_do_io_stat() expressly rejects them. Based on some digging in the history, this doesn't seem like a concious decision but one that evolved from the change from blk_fs_request() to blk_rq_is_passthrough(). To support this, call blk_account_io_start() in blk_execute_rq_nowait() and remove the passthrough check in blk_do_io_stat(). Link: https://lore.kernel.org/linux-block/[email protected]/ Signed-off-by: Logan Gunthorpe <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions