[SCSI] iscsi class, qla4xxx, iscsi_tcp, ib_iser: export/set initiator name
For iscsi root boot, software iscsi needs to know what the BIOS/OF initiator used for the initiator name so this puts it in sysfs for userspace to be able to pick up. For hw iscsi, it is nice to see what the card is using. This patch adds the new param, and hooks in qla4xxx, iscsi_tcp, and ib_iser. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Cc: Roland Dreier <rdreier@cisco.com> Cc: David C Somayajulu <david.somayajulu@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
0801c242a3
commit
8ad5781ae9
@@ -224,6 +224,7 @@ struct iscsi_session {
|
||||
int erl;
|
||||
int tpgt;
|
||||
char *targetname;
|
||||
char *initiatorname;
|
||||
/* hw address being used for iscsi connection */
|
||||
char *hwaddress;
|
||||
/* control data */
|
||||
|
||||
Reference in New Issue
Block a user