diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2020-07-24 20:25:14 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-29 08:45:21 +0300 |
commit | 17365ae6975c7f7494a2d1cd0bf18b5ed238e072 (patch) | |
tree | d82b903b2674e332d8839e88bdf0db298f25eecc /drivers/dma/fsl_raid.c | |
parent | df21b6b1934e89c2cc2bb1332146ed6c2df1321c (diff) | |
download | linux-17365ae6975c7f7494a2d1cd0bf18b5ed238e072.tar.xz |
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 'drivers/dma/fsl_raid.c')
0 files changed, 0 insertions, 0 deletions