diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-11 08:44:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-24 17:15:57 +0200 |
commit | 40d09b53bfc557af7481b9d80f060a7ac9c7d314 (patch) | |
tree | 9fb094b5a9a6db3728baad590c972c197e72ec6b /drivers/nvme/host/fc.c | |
parent | blk-mq: factor out a blk_mq_complete_need_ipi helper (diff) | |
download | linux-40d09b53bfc557af7481b9d80f060a7ac9c7d314.tar.xz linux-40d09b53bfc557af7481b9d80f060a7ac9c7d314.zip |
blk-mq: add a new blk_mq_complete_request_remote API
This is a variant of blk_mq_complete_request_remote that only completes
the request if it needs to be bounced to another CPU or a softirq. If
the request can be completed locally the function returns false and lets
the driver complete it without requring and indirect function call.
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/host/fc.c')
0 files changed, 0 insertions, 0 deletions