On Wed, Jun 05, 2019 at 05:02:09PM -0700, Sagi Grimberg wrote:
> if the lld does not explicitly sets this, scsi takes BLK_MAX_SEGMENT_SIZE
> and sets it using dma_set_max_seg_size(). In our case, this will affect
> all the rdma device consumers.
> 
> Fix it by setting shost max_segment_size according to the device
> capability.
> 
> Reported-by: Jason Gunthorpe <[email protected]>
> Signed-off-by: Sagi Grimberg <[email protected]>
> This goes on top of hch patchset:
> "properly communicate queue limits to the DMA layer"
> 
> Normally this should go through the rdma tree, so we can
> either get it through jens with hch patchset. Alternatively
> this is a fix that should go to rc anyways?

If CH's series goes to -rc we can take this through rdma after it gets
to -rc4 or so..

Otherwise Jens should probably take it, I'm not expecting conflicts in
this area so far.

Thanks,
Jason

Reply via email to