summaryrefslogtreecommitdiff
path: root/mm/page_poison.c
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@wdc.com>2021-04-09 21:12:55 +0300
committerChristoph Hellwig <hch@lst.de>2021-04-15 09:12:53 +0300
commite51183be1fa96dc6d3cd11b3c25a0f595807315e (patch)
tree12971bc915aaf593ccd5c8bd84d8fc4e18786f06 /mm/page_poison.c
parentccc1003b5b2ba9404b390f3183979f81136a3f1f (diff)
downloadlinux-e51183be1fa96dc6d3cd11b3c25a0f595807315e.tar.xz
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: 297910571f08 ("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>
Diffstat (limited to 'mm/page_poison.c')
0 files changed, 0 insertions, 0 deletions