Re: Fwd: [PATCH] ibmvscsis: Add SGL limit

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

 



Hi Bryant,

(Adding the list CC' back)

On Wed, 2017-02-08 at 11:13 -0600, Bryant G. Ly wrote:
> This patch adds internal LIO sgl limit since the driver already
> sets a max transfer limit on transport layer of 1MB to the client.
> 
> Cc: stable@xxxxxxxxxxxxxxx
> Tested-by: Steven Royer <seroyer@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Bryant G. Ly <bryantly@xxxxxxxxxxxxxxxxxx>
> ---
>   drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c b/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
> index dfe4778..4bb5635 100644
> --- a/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
> +++ b/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
> @@ -3818,6 +3818,7 @@ static struct configfs_attribute *ibmvscsis_tpg_attrs[] = {
>   static const struct target_core_fabric_ops ibmvscsis_ops = {
>   	.module				= THIS_MODULE,
>   	.name				= "ibmvscsis",
> +	.max_data_sg_nents		= MAX_TXU / PAGE_SIZE,
>   	.get_fabric_name		= ibmvscsis_get_fabric_name,
>   	.tpg_get_wwn			= ibmvscsis_get_fabric_wwn,
>   	.tpg_get_tag			= ibmvscsis_get_tag,
> Hi Nic,
>
> Good to see you back, can you include this with the v4.10 series you
> plan to send to Linus soon?
>
> Thanks,
>
> Bryant

Sure, will include this into the v4.10 fixes PULL request.

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux