aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gdth_proc.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-17 14:19:54 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2019-07-16 23:01:49 -0400
commitbdd17bdef7d8da4d8eee254abb4c92d8a566bdc1 (patch)
tree0a93328605a47da7ad488683e54c5d7b2db83ced /drivers/scsi/gdth_proc.h
parentscsi: core: add a host / host template field for the virt boundary (diff)
downloadlinux-dev-bdd17bdef7d8da4d8eee254abb4c92d8a566bdc1.tar.xz
linux-dev-bdd17bdef7d8da4d8eee254abb4c92d8a566bdc1.zip
scsi: core: take the DMA max mapping size into account
We need to limit the device's max_sectors to what the DMA mapping implementation can support. If not, we risk running out of swiotlb buffers easily. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/gdth_proc.h')
0 files changed, 0 insertions, 0 deletions