]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: communicate max segment size to the DMA mapping code
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Jan 2019 16:12:15 +0000 (17:12 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 23 Jan 2019 01:40:59 +0000 (20:40 -0500)
commit2037be6a1ff5febe839794c1c525a77031034e93
tree053ce64df252111bc86cf10f34c22ab042f082ca
parent6af3dad38b00fec49fa3cd97765dd64ecad5aab2
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: 257c65268e ("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>
drivers/ata/pata_macio.c
drivers/ata/sata_inic162x.c
drivers/firewire/sbp2.c
drivers/scsi/aacraid/linit.c
drivers/scsi/scsi_lib.c