[Stgt-devel] [PATCH] Define a larger SCSI_SN_LEN

Doron Shoham dorons
Mon Jul 21 13:31:44 CEST 2008


Define a larger SCSI_SN_LEN in order to export the real device's
serial number.
Some storage devices demand even larger size.

Signed-off-by: Doron Shoham <dorons at voltaire.com>
---
 usr/tgtd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/tgtd.h b/usr/tgtd.h
index 341b8e2..579ee46 100644
--- a/usr/tgtd.h
+++ b/usr/tgtd.h
@@ -5,7 +5,7 @@
 #include "scsi_cmnd.h"
 
 #define SCSI_ID_LEN		24
-#define SCSI_SN_LEN		32
+#define SCSI_SN_LEN		64
 
 #define VENDOR_ID_LEN		8
 #define PRODUCT_ID_LEN		16
-- 
1.5.3.8







More information about the stgt mailing list