commit | a8cf59a6692c9c55a5a10257de97919fae6edef8 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jan 16 17:12:15 2019 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jan 22 20:40:59 2019 -0500 |
tree | 053ce64df252111bc86cf10f34c22ab042f082ca | |
parent | 9e8f1c79831424d30c0e3df068be7f4a244157c9 [diff] |
scsi: communicate max segment size to the DMA mapping code When a host driver sets a maximum segment size we should not only propagate that setting to the block layer, which can merge segments, but also to the DMA mapping layer which can merge segments as well. Fixes: 50c2e9107f ("scsi: introduce a max_segment_size host_template parameters") Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>