Skip to contentSkip to conversation

Patch "ibmvscsis: Add SGL limit" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Feb 10, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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 <[email protected]> know about it.

Quoted 1 line

From b22bc27868e8c11fe3f00937a341b44f80b50364 Mon Sep 17 00:00:00 2001

From: "Bryant G. Ly" <[email protected]>
Date: Mon, 6 Feb 2017 10:04:28 -0600
Subject: ibmvscsis: Add SGL limit

From: Bryant G. Ly <[email protected]>

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.

---
 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c |    1 +
 1 file changed, 1 insertion(+)
drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c +1 -0
@@ -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 [email protected] are

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