Re: [PATCH] RDMA/srp: Increase max_segment_size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 22, 2019 at 10:25:20AM -0800, Bart Van Assche wrote:
> The default behavior of the SCSI core is to set the block layer request
> queue parameter max_segment_size to 64 KB. That means that elements of
> scatterlists are limited to 64 KB. Since RDMA adapters support larger
> sizes, increase max_segment_size for the SRP initiator.
> 
> Notes:
> - The SCSI max_segment_size parameter was introduced in kernel v5.0. See
>   also commit 50c2e9107f17 ("scsi: introduce a max_segment_size
>   host_template parameters").
> - Some other block drivers already set max_segment_size to UINT_MAX,
>   e.g. nbd and rbd.
> 
> Cc: Christoph Hellwig <hch@xxxxxx>
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
> ---
>  drivers/infiniband/ulp/srp/ib_srp.c |  1 +
>  include/rdma/ib_verbs.h             | 13 +++++++++++++
>  2 files changed, 14 insertions(+)

Applied to for-next

Thanks,
Jason



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux