Skip to contentSkip to conversation

tcm_loop: Enable 32-byte CDB support in virtual SCSI LLD

PATCH In review Nicholas A. Bellinger 1 participant 1 message Sep 17, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 tcm_loop: Enable 32-byte CDB support in virtual SCSI LLD

From: Nicholas Bellinger <[email protected]>

This patch changes tcm_loop_core.h:TL_SCSI_MAX_CMD_LEN=32 to enable the support of

Quoted 1 line

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.

---
 drivers/target/tcm_loop/tcm_loop_core.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/target/tcm_loop/tcm_loop_core.h +1 -1
index 36859bd..5e218a7 100644
@@ -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)
Signature · 1 line
1.5.6.5