- get_transport_version() function changed to get target on entry

- transport versions propageted to user space handlers



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2061 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-09-06 21:45:48 +00:00
parent 961d59ff40
commit c66ae1850e
11 changed files with 35 additions and 25 deletions
+8
View File
@@ -312,6 +312,8 @@ struct scst_user_sess
uint64_t lun;
uint16_t threads_num;
uint8_t rd_only;
uint16_t scsi_transport_version;
uint16_t phys_transport_version;
char initiator_name[SCST_MAX_NAME];
char target_name[SCST_MAX_NAME];
},
@@ -327,6 +329,12 @@ where:
- rd_only - if true, this device is read only in this session
- scsi_transport_version - version descriptor value for SCSI transport
of this session
- phys_transport_version - version descriptor value for physical transport
of this session
- initiator_name - name of the remote initiator, which initiated this
session