An additional command complete message of Service Delivery or Target Failure - Connection Failed was added in SAS2r14 as part of letter ballot resolution.  This command completion message needs to be added to the list a – h list in 10.2.2 . 

 

 

The last paragraph in 4.4.1 states:

The link reset sequence has no effect on the transport layer and application layer. A hard reset sequence replaces the identification sequence to initiate a hard reset. The link reset sequence serves as a hard reset for SATA devices (see SATA).

 

The first sentence of this does not match with the remainder of the specification.  The following sequence of events causes the application client to abort an outstanding command.

 

The beginning of a link reset is transmitting and receiving a COMINIT, which causes the SP state machine to send a Phy Layer Not Ready confirmation to the link layer. (6.8.3.2.1)

A Phy Layer Not Ready confirmation causes a Phy Disabled confirmation to be sent to the port layer (7.10.5.2.1). 

If there is only 1 link layer in a port (or if this occurs on all phys in the port), then the port layer sends a No Phys In Port confirmation to the transport layer (8.2.2.3.1). 

The transport layer sends a Command Complete Received (Service Delivery or Target Failure - Connection Failed) to the SCSI application layer. (9.2.6.2.2.5)

The application client aborts the command (10.2.2)

 

Bill Martin

Emulex
Office of Technology
Industry Standards
916 772-3658
916 765-6875 (Cell)
bill.martin@emulex.com