Hi,
Today, SCSI_SN_LEN is defined as 8 chars only.
I want to define a larger SCSI_SN_LEN in order to
export the real device's serial number.
This is required for using dm-multipath.
When several targets export the same device to the initiator we
will be able to use dm-multipath on the initiator. 

Thanks,
Doron



Define a larger SCSI_SN_LEN in order to
export the real device's serial number.

Signed-off-by: Doron Shoham <[EMAIL PROTECTED]>
---
 usr/tgtd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/tgtd.h b/usr/tgtd.h
index 62e3821..2f53fb8 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            8
+#define SCSI_SN_LEN            32
 
 #define VENDOR_ID_LEN          8
 #define PRODUCT_ID_LEN         16
-- 
1.5.2

_______________________________________________
Stgt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/stgt-devel

Reply via email to