|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: iSCSI: SAM service response mappingRob, What you are suggesting is a "symbol Mapping" (are the responses symbols you quote associated with numerical values?). At the time we wrote this part there was no mapping for any of the protocols and we can do the "symbol mapping" to match whatever others have but only if this level of detail is sufficient. Julo
[I'll post this to ips as soon as my email address on the reflector is updated from robert.elliott@compaq.com to elliott@hp.com] A few comments on the SCSI mappings in iscsi-12-96... 1. In section 9.6.1 (Task management function response) I disagree with this: "The mapping of the response code into a SCSI service response code, if needed, is outside the scope of this document." Serial Attached SCSI and Parallel SCSI (SPI-5) are going to map the SAM-2 remote procedure call results to their response codes; this closes a gap in the SCSI architecture mappings. I propose replacing that paragraph with: "Response value 0 maps to the SCSI service response of FUNCTION COMPLETE. All other Response values map to the SCSI service response of FUNCTION REJECTED. If a Task Management Function Response PDU does not arrive before the session is terminated, the SCSI service response is SERVICE DELIVERY OR TARGET FAILURE." For reference, the task management response codes are: a) 0 - Function Complete. b) 1 - Task does not exist. c) 2 - LUN does not exist. d) 3 - Task still allegiant. e) 4 - Task failover not supported. f) 5 - Task management function not supported. g) 6 - Function authorization failed. h) 255 - Function Rejected. 2. The same applies for command responses in 9.4.3: "The Response is used to report a Service Response. The exact mapping of the iSCSI response codes to SAM service response symbols is outside the scope of this document." I suggest: "Response value 0x00 maps to the SCSI service response of TASK COMPLETE. All other Response values map to the SCSI service response of SERVICE DELIVERY OR TARGET FAILURE. If a SCSI Response PDU does not arrive before the session is terminated, the SCSI service response is SERVICE DELIVERY OR TARGET FAILURE." For reference, the command response codes are: 0x00 - Command Completed at Target 0x01 - Target Failure 0x80-0xff - Vendor specific -- Rob Elliott, elliott@hp.com Industry Standard Server Storage Advanced Technology Hewlett-Packard
Home Last updated: Thu Jun 06 13:18:47 2002 10545 messages in chronological order |