diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-05 22:08:24 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-05 22:18:39 +0300 |
commit | a48bc520011ea7a701826a9e3a770b128f283328 (patch) | |
tree | 1037387fee23197198565f5bcf2d1ebc4125f462 /drivers/block/rsxx | |
parent | 98d669b49120bad6a09c361daa71c92e6a9f8fbb (diff) | |
download | linux-a48bc520011ea7a701826a9e3a770b128f283328.tar.xz |
nvme-pci: don't limit DMA segement size
NVMe uses PRPs (or optionally unlimited SGLs) for data transfers and
has no specific limit for a single DMA segement. Limiting the size
will cause problems because the block layer assumes PRP-ish devices
using a virt boundary mask don't have a segment limit. And while this
is true, we also really need to tell the DMA mapping layer about it,
otherwise dma-debug will trip over it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/rsxx')
0 files changed, 0 insertions, 0 deletions