Files
linux/drivers/nvme/host
Niklas Cassel e51183be1f nvme-pci: don't simple map sgl when sgls are disabled
According to the module parameter description for sgl_threshold,
a value of 0 means that SGLs are disabled.

If SGLs are disabled, we should respect that, even for the case
where the request is made up of a single physical segment.

Fixes: 297910571f ("nvme-pci: optimize mapping single segment requests using SGLs")
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-04-15 08:12:53 +02:00
..
2021-04-06 08:34:39 +02:00
2021-04-02 18:48:29 +02:00
2021-04-13 09:16:12 -06:00
2020-07-08 16:16:20 +02:00
2021-04-06 08:34:39 +02:00
2021-04-02 18:48:28 +02:00
2021-02-02 10:26:12 +01:00