commit | 297910571f08f1d7e398793df6e606ebb375a3f1 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Mar 05 05:54:18 2019 -0700 |
committer | Christoph Hellwig <hch@lst.de> | Fri Apr 05 08:07:58 2019 +0200 |
tree | ac556d402228f2c09a08d3cfb4dc2ad6c35f44f0 | |
parent | dff824b2aadb7808f50ceb0927acaec5ad750ce7 [diff] |
nvme-pci: optimize mapping single segment requests using SGLs If the controller supports SGLs we can take another short cut for single segment request, given that we can always map those without another indirection structure, and thus don't need to create a scatterlist structure. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>