|
SAM-3 and SAM-4 require all transport protocols to tag the TMF responses with the requests: "Each SCSI transport protocol shall allow a Received Task Management Function Executed confirming completion of the requested task to be associated with the corresponding Send Task Management Request." Although iSCSI was based on SAM-2, it complies with that rule. The Fence concept is asking for more than that - it wants the target to be able to ensure that all previous commands/TMFs are complete before delivering a particular TMF response (e.g., for a LOGICAL UNIT RESET). Since iSCSI doesn't have ACKs, the target must wait for the next PDU from the initiator with an updated ExpStatSN. 06-341r0 discussed an alternative - add a Delivery Result output to the Send Command Complete and Task Management Function Executed confirmations (as previously proposed in 04-072r0 for a different purpose). This would let the device server/task manager wait for all the previous commands/TMF responses to complete (be ACKed) before proceeding to make additional calls (e.g., Task Management Function Executed for a LOGICAL UNIT RESET). However, iSCSI allows the target port to send a NOP-IN to force delivery of a NOP-OUT with ExpStatSN, rather than passively wait for a PDU to show up. The device server/task manager must instruct the target port when to do this, and the Request Fence argument serves that purpose. Target ports using protocols without such a force mechanism are still OK - they will just wait for protocol-specific delivery confirmations (e.g. ACKs). --
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Ips mailing list Ips at ietf.org https://www1.ietf.org/mailman/listinfo/ips