SAS: SL_CC state machine

Chip Algernon chipalgernon at hotmail.com
Thu Mar 11 11:46:23 PST 2004


* From the T10 Reflector (t10 at t10.org), posted by:
* "Chip Algernon" <chipalgernon at hotmail.com>
*

(1) in sas1.1, r03 page 206, it says

----
7.14.4.5 SL_CC3:Connected state
7.14.4.5.1 State description
....
A CLOSE Received message may be received at any time while in this state, 
but shall be ignored during SSP and SMP connections. If a CLOSE Received 
(Clear Affiliation) is received during an STP connection, this state shall 
clear any affiliation (see 7.17.4).
----

Can a CLOSE received message really be ignored?   Can I assume this message 
is latched so it is still a valid message to check in SL_CC4:DisconnectWait 
state?
For example,  is the following sequence of events correct to close a SSP 
connection?
assume a SSP connection open between device X and Y,  then later
X sent DONE,
Y sent DONE,
Y sent CLOSE,
X sent CLOSE.

For X, if the CLOSE from Y is ignored, without register it as a valid CLOSE, 
X would be in SL_CC4:DisconnectWait state and waiting for another CLOSE.  I 
don't think that's what the spec means when it says 'ignore'.

But if Y sent CLOSE before the DONEs are exchanged, for X, this CLOSE should 
be "completely" ignored.

Do we need some clarificartion on this in the spec.?

here is 'message' definition in SAS pg8, doesn't help me on above question.
---
3.1.74 message: Information sent between state machines.
---


(2) In sas1.1 r03, page 202, it says,

---
7.14.4.1 SL_CC state machine overview
The state machine consists of the following states:
a) SL_CC0:Idle (see 7.14.4.2)(initial state);
b) SL_CC1:ArbSel (see 7.14.4.3);
c) SL_CC2:Selected (see 7.14.4.4);
d) SL_CC3:Connected (see 7.14.4.5);
e) SL_CC4:DisconnectWait (see 7.14.4.6);
f) SL_CC5:BreakWait (see 7.14.4.7); and
g) SL_CC6:Break (see 7.14.4.8).
---

SL_CC7:CLoseSTP is missing from above list.


Thanks,
Chip

_________________________________________________________________
Get business advice and resources to improve your work life, from bCentral. 
http://special.msn.com/bcentral/loudclear.armx 

*
* For T10 Reflector information, send a message with
* 'info t10' (no quotes) in the message body to majordomo at t10.org




More information about the T10 mailing list