diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2020-07-24 11:25:14 -0600 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-29 07:45:21 +0200 |
commit | 17365ae6975c7f7494a2d1cd0bf18b5ed238e072 (patch) | |
tree | d82b903b2674e332d8839e88bdf0db298f25eecc /lib/mpi/mpi-sub-ui.c | |
parent | df21b6b1934e89c2cc2bb1332146ed6c2df1321c (diff) |
nvme: introduce nvme_execute_passthru_rq to call nvme_passthru_[start|end]()
Introduce a new nvme_execute_passthru_rq() helper which calls
nvme_passthru_[start|end]() around blk_execute_rq(). This ensures
all passthru calls (including nvme_submit_io()) will be wrapped
appropriately.
nvme_execute_passthru_rq() will also be useful for the nvmet passthru
code and is exported in the NVME_TARGET_PASSTHRU namespace.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions