USER SPACE INTERFACE DESCRIPTION.
- Version 0.9.6
+ Version 0.9.6/1
I. Description.
{
uint64_t sess_h;
uint64_t lun;
+ uint16_t threads_num;
uint8_t rd_only;
char initiator_name[SCST_MAX_NAME];
},
- sess_h - session's handle, may not be 0
- lun - assigned LUN for this device in this session
-
+
+ - threads_num - specifies amount of additional threads, requested by
+ the corresponding target driver
+
- rd_only - if true, this device is read only in this session
- initiator_name - name of the remote initiator, which initiated this
freed, it will be reused by subsequent SCSI commands. The buffer must be
freed only on SCST_USER_ON_CACHED_MEM_FREE event.
-Payload contains struct scst_user_scsi_cmd_on_free_cmd, which is defined
+Payload contains struct scst_user_scsi_on_free_cmd, which is defined
as the following:
-struct scst_user_scsi_cmd_on_free_cmd
+struct scst_user_scsi_on_free_cmd
{
uint64_t pbuf;
int32_t resp_data_len;
uint8_t buffer_cached;
+ uint8_t aborted;
uint8_t status;
},
- buffer_cached - true, if memory reusage is enabled for this command
+ - aborted - true, if command was aborted
+
- status - SAM status of the commands execution
The user space handler should reply using the corresponding reply