diff options
author | Keith Busch <kbusch@kernel.org> | 2023-06-12 12:03:42 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-28 16:09:41 -0600 |
commit | f6c80cffcd47a2d41943e3a41fbe9034d9f6d7b0 (patch) | |
tree | 687fe310b1cd478cd2289f20dfb9aa1fe9279c1b /drivers/nvme/host/ioctl.c | |
parent | 3a08284ff22080e742814dad1dbabb4b66349642 (diff) |
block: add request polling helper
Provide a direct request polling will for drivers. The interface does
not require a bio, and can skip the overhead associated with polling
those. The biggest gain from skipping the relatively expensive xarray
lookup unnecessary when you already have the request.
With this, the simple rq/qc conversion functions have only one caller
each, so open code this and remove the helpers.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230612190343.2087040-2-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/host/ioctl.c')
0 files changed, 0 insertions, 0 deletions