Re: [PATCH 1/1] IB/iser: bound protection_sg size by data_sg size

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

 



On Wed, Sep 25, 2019 at 12:03:47AM +0300, Max Gurtovoy wrote:
> In case we don't set the sg_prot_tablesize, the scsi layer assign the
> default size (65535 entries). We should limit this size since we should
> take into consideration the underlaying device capability. This cap is
> considered when calculating the sg_tablesize. Otherwise, for example,
> we can get that /sys/block/sdb/queue/max_segments is 128 and
> /sys/block/sdb/queue/max_integrity_segments is 65535.
> 
> Signed-off-by: Max Gurtovoy <maxg@xxxxxxxxxxxx>
> Reviewed-by: Sagi Grimberg <sagi@xxxxxxxxxxx>
> ---
>  drivers/infiniband/ulp/iser/iscsi_iser.c | 1 +
>  1 file changed, 1 insertion(+)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux