diff options
author | 2020-07-24 11:25:14 -0600 | |
---|---|---|
committer | 2020-07-29 07:45:21 +0200 | |
commit | 17365ae6975c7f7494a2d1cd0bf18b5ed238e072 (patch) | |
tree | d82b903b2674e332d8839e88bdf0db298f25eecc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme: create helper function to obtain command effects (diff) | |
download | wireguard-linux-17365ae6975c7f7494a2d1cd0bf18b5ed238e072.tar.xz wireguard-linux-17365ae6975c7f7494a2d1cd0bf18b5ed238e072.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions