All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/3] tcm_loop: Enable 32-byte CDB support in virtual SCSI LLD
@ 2010-09-17  5:35 ` Nicholas A. Bellinger
  0 siblings, 0 replies; 2+ messages in thread
From: Nicholas A. Bellinger @ 2010-09-17  5:35 UTC (permalink / raw)
  To: linux-scsi, linux-kernel, Martin K. Petersen, James Bottomley,
	Mike Christie, FUJITA Tomonori
  Cc: Hannes Reinecke, Konrad Rzeszutek Wilk, Douglas Gilbert,
	Joe Eykholt, Boaz Harrosh, Nicholas Bellinger

From: Nicholas Bellinger <nab@linux-iscsi.org>

This patch changes tcm_loop_core.h:TL_SCSI_MAX_CMD_LEN=32 to enable the support of
> 16 byte CDB within the TCM_Loop virtual SCSI fabric module.  This value is used in
tcm_loop_fabric_scsi.c:tcm_loop_driver_probe() for struct Scsi_Host->max_cmd_len to
signal Linux/SCSI of the maximum sized CDBs the LLD is capable of handling.

Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
---
 drivers/target/tcm_loop/tcm_loop_core.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/target/tcm_loop/tcm_loop_core.h b/drivers/target/tcm_loop/tcm_loop_core.h
index 36859bd..5e218a7 100644
--- a/drivers/target/tcm_loop/tcm_loop_core.h
+++ b/drivers/target/tcm_loop/tcm_loop_core.h
@@ -14,7 +14,7 @@
 /*
  * Used in tcm_loop_driver_probe() for struct Scsi_Host->max_cmd_len
  */
-#define TL_SCSI_MAX_CMD_LEN		16
+#define TL_SCSI_MAX_CMD_LEN		32
 
 #ifdef TCM_LOOP_CDB_DEBUG
 # define TL_CDB_DEBUG(x...)		printk(KERN_INFO x)
-- 
1.5.6.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 3/3] tcm_loop: Enable 32-byte CDB support in virtual SCSI LLD
@ 2010-09-17  5:35 ` Nicholas A. Bellinger
  0 siblings, 0 replies; 2+ messages in thread
From: Nicholas A. Bellinger @ 2010-09-17  5:35 UTC (permalink / raw)
  To: linux-scsi, linux-kernel, Martin K. Petersen, James Bottomley, Mi
  Cc: Hannes Reinecke, Konrad Rzeszutek Wilk, Douglas Gilbert,
	Joe Eykholt, Boaz Harrosh, Nicholas Bellinger

From: Nicholas Bellinger <nab@linux-iscsi.org>

This patch changes tcm_loop_core.h:TL_SCSI_MAX_CMD_LEN=32 to enable the support of
> 16 byte CDB within the TCM_Loop virtual SCSI fabric module.  This value is used in
tcm_loop_fabric_scsi.c:tcm_loop_driver_probe() for struct Scsi_Host->max_cmd_len to
signal Linux/SCSI of the maximum sized CDBs the LLD is capable of handling.

Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
---
 drivers/target/tcm_loop/tcm_loop_core.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/target/tcm_loop/tcm_loop_core.h b/drivers/target/tcm_loop/tcm_loop_core.h
index 36859bd..5e218a7 100644
--- a/drivers/target/tcm_loop/tcm_loop_core.h
+++ b/drivers/target/tcm_loop/tcm_loop_core.h
@@ -14,7 +14,7 @@
 /*
  * Used in tcm_loop_driver_probe() for struct Scsi_Host->max_cmd_len
  */
-#define TL_SCSI_MAX_CMD_LEN		16
+#define TL_SCSI_MAX_CMD_LEN		32
 
 #ifdef TCM_LOOP_CDB_DEBUG
 # define TL_CDB_DEBUG(x...)		printk(KERN_INFO x)
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-17  5:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-17  5:35 [PATCH 3/3] tcm_loop: Enable 32-byte CDB support in virtual SCSI LLD Nicholas A. Bellinger
2010-09-17  5:35 ` Nicholas A. Bellinger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.