android_kernel_motorola_sm6375/drivers/nvme
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Niklas Cassel ff386ac050 nvme-pci: don't simple map sgl when sgls are disabled
[ Upstream commit e51183be1fa96dc6d3cd11b3c25a0f595807315e ]

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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-05-14 09:44:25 +02:00
..
host nvme-pci: don't simple map sgl when sgls are disabled 2021-05-14 09:44:25 +02:00
target nvmet-tcp: fix incorrect locking in state_change sk callback 2021-05-14 09:44:24 +02:00
Kconfig
Makefile