stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "ibmvscsis: Add SGL limit" has been added to the 4.9-stable tree
@ 2017-02-10 21:10 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-02-10 21:10 UTC (permalink / raw)
  To: bryantly, gregkh, nab, seroyer; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    ibmvscsis: Add SGL limit

to the 4.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     ibmvscsis-add-sgl-limit.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From b22bc27868e8c11fe3f00937a341b44f80b50364 Mon Sep 17 00:00:00 2001
From: "Bryant G. Ly" <bryantly@linux.vnet.ibm.com>
Date: Mon, 6 Feb 2017 10:04:28 -0600
Subject: ibmvscsis: Add SGL limit

From: Bryant G. Ly <bryantly@linux.vnet.ibm.com>

commit b22bc27868e8c11fe3f00937a341b44f80b50364 upstream.

This patch adds internal LIO sgl limit since the driver already
sets a max transfer limit on transport layer of 1MB to the client.

Tested-by: Steven Royer <seroyer@linux.vnet.ibm.com>
Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
+++ b/drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
@@ -3929,6 +3929,7 @@ static struct configfs_attribute *ibmvsc
 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,


Patches currently in stable-queue which might be from bryantly@linux.vnet.ibm.com are

queue-4.9/ibmvscsis-add-sgl-limit.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-10 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-10 21:10 Patch "ibmvscsis: Add SGL limit" has been added to the 4.9-stable tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).