Re: [PATCH 08/13] IB/iser: set virt_boundary_mask in the scsi host

From
Christoph Hellwig <hch@lst.de>
Date
2019-06-06 06:25:10
Also in
linux-hyperv, linux-mmc, linux-nvme, linux-rdma, linux-scsi, linux-usb, lkml
Reply to
Jason Gunthorpe, 2019-06-05
On Wed, Jun 05, 2019 at 05:22:35PM -0300, Jason Gunthorpe wrote:
On Wed, Jun 05, 2019 at 09:08:31PM +0200, Christoph Hellwig wrote:
quoted
This ensures all proper DMA layer handling is taken care of by the
SCSI midlayer.
Maybe not entirely related to this series, but it looks like the SCSI
layer is changing the device global dma_set_max_seg_size() - at least
in RDMA the dma device is being shared between many users, so we
really don't want SCSI to make this value smaller.

Can we do something about this?
We could do something about it as outlined in my mail - pass the
dma_params explicitly to the dma_map_sg call.  But that isn't really
suitable for a short term fix and will take a little more time.

Until we've sorted that out the device paramter needs to be set to
the smallest value supported.
Thread (31 messages) 31 messages, 6 authors, last reply 2019-06-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help