Christoph Hellwig bdd17bdef7 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>
2019-07-16 23:01:49 -04:00
..
2018-12-18 23:19:21 -05:00
2019-05-08 10:12:46 -07:00
2019-05-08 10:12:46 -07:00
2019-03-09 16:53:47 -08:00
2019-05-21 06:16:22 -04:00
2019-05-08 10:12:46 -07:00
2019-03-02 11:39:54 -08:00
2018-12-18 23:19:21 -05:00
2018-06-19 22:02:25 -04:00
2018-12-18 23:19:21 -05:00
2019-06-18 19:46:23 -04:00
2019-01-08 21:58:35 -05:00
2019-01-08 21:58:35 -05:00
2018-12-18 23:19:21 -05:00
2019-06-18 19:46:18 -04:00
2019-06-18 19:46:18 -04:00
2018-12-18 23:19:21 -05:00
2018-11-06 21:31:28 -05:00
2019-05-21 06:16:22 -04:00
2018-12-18 23:19:21 -05:00
2018-12-28 14:48:06 -08:00
2019-03-09 16:53:47 -08:00
2018-06-19 22:02:25 -04:00
2019-07-16 22:37:22 -04:00
2019-06-18 19:46:17 -04:00
2019-02-12 22:33:00 -05:00
2019-05-21 06:16:23 -04:00
2019-05-21 06:16:23 -04:00
2018-12-18 23:19:21 -05:00
2019-05-21 06:16:23 -04:00
2019-06-18 19:46:18 -04:00
2018-12-18 23:19:21 -05:00
2019-06-20 15:37:02 -04:00