Preempt and Abort Service Action and ACA

George Penokie gop at us.ibm.com
Thu Jul 3 12:52:18 PDT 2003


* From the T10 Reflector (t10 at t10.org), posted by:
* George Penokie <gop at us.ibm.com>
*
This is a multipart message in MIME format.
--=_alternative 006CF3BB86256D58_=
Content-Type: text/plain; charset="us-ascii"


Ken, 

Step a does not apply because it only applies to non-faulted initiators
that issue a service action. Commands from a faulted initiator follow
the rules in SAM-3 section 5.9.2.2 (Handling new tasks from the faulted
initiator port) when ACA is in effect. So if the service action is
coming from a faulted initiator in you should not apply step a as it is
only intended to apply to a non-faulted initiator that issues a service
action. As a result the service action should be processed normally. 

If you do get a Preempt and Abort service action from a non-faulted
initiator with a key of zero when the all registrants registration is in
place than that service action should return an ACA ACTIVE or a BUSY
status.

Bye for now,
George Penokie

Dept 2C6  114-2 N212
E-Mail:    gop at us.ibm.com
Internal:  553-5208
External: 507-253-5208   FAX: 507-253-2880





	"Ken Craig" <kcraig at istor.com> 


07/03/2003 11:49 AM 
        
        To:        George Penokie/Rochester/IBM at IBMUS 
        cc:        <t10 at t10.org> 
        Subject:        RE: Preempt and Abort Service Action and ACA 





George, 
  
My question revolved around the first sentence of Section 5.5.2.7.5,
Step A. 
My example is the faulting Initiator, who is registered with a LUN
currently 
under an All Registrants type of reservation, sending a Preempt and
Abort 
with a Sevice Action Reservation Key of 0 and the ACA task attribute.
In 
this case (according to the Preempt and Abort flow chart) the faulting 
Initiator is not going to be preempted so the ACA condition is not going
to 
be cleared.  My interpretation of the first sentence in Step A tells me
the 
Preempt and Abort should fail.  If I'm interpreting your answer
correctly you 
seem to be saying that Step A in the above Section would be ignored for 
faulting Initiators or Step A is meant to only apply to non-faulting
Initiators 
who send the Preempt and Abort so I'm looking for a little bit more
clarification. 
  
Thanks, 
Kenneth Ray Craig, Jr. 
  
  
  
-----Original Message-----
From: George Penokie [mailto:gop at us.ibm.com] 
Sent: Thursday, July 03, 2003 8:06 AM
To: Ken Craig
Cc: t10 at t10.org
Subject: Re: Preempt and Abort Service Action and ACA


Ken, 

It appears you question is: What happens if a faulted initiator (i.e.,
the one to with the ACA applies) properly issues (i.e., with an ACA task
attribute) a Preempt and Abort service action? 
The answer to that question is: The logical unit should process the
service action under ACA rules (i.e., process the service action) just
as it would any other command received under those conditions. 

A more interesting question is: What happens if an All Registrants
reservation is in effect, an ACA is in effect, and an initiator other
than the faulted initiator issues a Preempt and Abort service action? 
The answer it that question is: The logical unit should to return an ACA
ACTIVE or a BUSY status. 
That is not clear in the standard and wording will be proposed to fix
that.

Bye for now,
George Penokie

Dept 2C6  114-2 N212
E-Mail:    gop at us.ibm.com
Internal:  553-5208
External: 507-253-5208   FAX: 507-253-2880




	"Ken Craig" <kcraig at istor.com> 
Sent by: owner-t10 at t10.org 


06/27/2003 12:57 PM         
       To:        <t10 at t10.org> 
       cc:         
       Subject:        Preempt and Abort Service Action and ACA 





* From the T10 Reflector (t10 at t10.org), posted by:
* "Ken Craig" <kcraig at istor.com>
*
I have a question in the following scenario:

Control Mode TST = 0

One of the ALL REGISTRANTS types of persistent
reservation is in effect

LUN enters the ACA State

ACA Initiator issues a Preempt and Abort Service
Action with a Service Action Reservation Key of 0

My question concerns Section 5.5.2.7.5, step a in
SPC-3 rev 13.  Does the above Preempt and Abort
fail the test in step a since the ACA Initiator is
not preempted or is the releasing of the persistent
reservation that is performed in Section 5.5.2.7.4.3
qualify for the preemption requirement?

Thanks,
Kenneth Ray Craig, Jr.

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





--=_alternative 006CF3BB86256D58_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Ken,</font>
<br>
<br><font size=2 face="sans-serif">Step a does not apply because it only applies to non-faulted initiators that issue a service action. Commands from a faulted initiator follow the rules in SAM-3 section 5.9.2.2 (Handling new tasks from the faulted initiator port) when ACA is in effect. So if the service action is coming from a faulted initiator in you should not apply step a as it is only intended to apply to a non-faulted initiator that issues a service action. As a result the service action should be processed normally.</font>
<br>
<br><font size=2 face="sans-serif">If you do get a Preempt and Abort service action from a non-faulted initiator with a key of zero when the all registrants registration is in place than that service action should return an ACA ACTIVE or a BUSY status.<br>
<br>
Bye for now,<br>
George Penokie<br>
<br>
Dept 2C6 &nbsp;114-2 N212<br>
E-Mail: &nbsp; &nbsp;gop at us.ibm.com<br>
Internal: &nbsp;553-5208<br>
External: 507-253-5208 &nbsp; FAX: 507-253-2880<br>
<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>"Ken Craig" <kcraig at istor.com&gt;</b></font>
<p><font size=1 face="sans-serif">07/03/2003 11:49 AM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;George Penokie/Rochester/IBM at IBMUS</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;<t10 at t10.org&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;RE: Preempt and Abort Service Action and ACA</font>
<br></table>
<br>
<br>
<br><font size=2 color=blue face="Arial">George,</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">My question revolved around the first sentence of Section 5.5.2.7.5, Step A.</font>
<br><font size=2 color=blue face="Arial">My example is the faulting Initiator, who is registered with a LUN currently</font>
<br><font size=2 color=blue face="Arial">under an All Registrants type of reservation, sending a Preempt and Abort</font>
<br><font size=2 color=blue face="Arial">with a Sevice Action Reservation Key of 0 and the ACA task attribute. &nbsp;In</font>
<br><font size=2 color=blue face="Arial">this case (according to the Preempt and Abort flow chart) the faulting</font>
<br><font size=2 color=blue face="Arial">Initiator is not going to be preempted so the ACA condition is not going to</font>
<br><font size=2 color=blue face="Arial">be cleared. &nbsp;My interpretation of the first sentence in Step A tells me the</font>
<br><font size=2 color=blue face="Arial">Preempt and Abort should fail. &nbsp;If I'm interpreting your answer correctly you</font>
<br><font size=2 color=blue face="Arial">seem to be saying that Step A in the above Section would be ignored for</font>
<br><font size=2 color=blue face="Arial">faulting Initiators or Step A is meant to only apply to non-faulting Initiators</font>
<br><font size=2 color=blue face="Arial">who send the Preempt and Abort so I'm looking for a little bit more clarification.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Thanks,</font>
<br><font size=2 color=blue face="Arial">Kenneth Ray Craig, Jr.</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Tahoma">-----Original Message-----<b><br>
From:</b> George Penokie [mailto:gop at us.ibm.com] <b><br>
Sent:</b> Thursday, July 03, 2003 8:06 AM<b><br>
To:</b> Ken Craig<b><br>
Cc:</b> t10 at t10.org<b><br>
Subject:</b> Re: Preempt and Abort Service Action and ACA<br>
</font>
<br><font size=2 face="sans-serif"><br>
Ken,</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
It appears you question is: What happens if a faulted initiator (i.e., the one to with the ACA applies) properly issues (i.e., with an ACA task attribute) a Preempt and Abort service action? <br>
The answer to that question is: The logical unit should process the service action under ACA rules (i.e., process the service action) just as it would any other command received under those conditions.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
A more interesting question is: What happens if an All Registrants reservation is in effect, an ACA is in effect, and an initiator other than the faulted initiator issues a Preempt and Abort service action?</font><font size=3> </font><font size=2 face="sans-serif"><br>
The answer it that question is: The logical unit should to return an ACA ACTIVE or a BUSY status.</font><font size=3> </font><font size=2 face="sans-serif"><br>
That is not clear in the standard and wording will be proposed to fix that.<br>
<br>
Bye for now,<br>
George Penokie<br>
<br>
Dept 2C6 &nbsp;114-2 N212<br>
E-Mail: &nbsp; &nbsp;gop at us.ibm.com<br>
Internal: &nbsp;553-5208<br>
External: 507-253-5208 &nbsp; FAX: 507-253-2880<br>
</font><font size=3><br>
<br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=2%>
<td width=36%><font size=1 face="sans-serif"><b>"Ken Craig" <kcraig at istor.com&gt;</b></font><font size=3> </font><font size=1 face="sans-serif"><br>
Sent by: owner-t10 at t10.org</font><font size=3> </font>
<p><font size=1 face="sans-serif">06/27/2003 12:57 PM</font><font size=3> </font>
<td width=60%><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;To: &nbsp; &nbsp; &nbsp; &nbsp;<t10 at t10.org&gt;</font><font size=3> </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cc: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3> </font><font size=1 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;Subject: &nbsp; &nbsp; &nbsp; &nbsp;Preempt and Abort Service Action and ACA</font><font size=3> </font></table>
<br><font size=3><br>
<br>
</font><font size=2 face="Courier New"><br>
* From the T10 Reflector (t10 at t10.org), posted by:<br>
* "Ken Craig" <kcraig at istor.com&gt;<br>
*<br>
I have a question in the following scenario:<br>
<br>
Control Mode TST = 0<br>
<br>
One of the ALL REGISTRANTS types of persistent<br>
reservation is in effect<br>
<br>
LUN enters the ACA State<br>
<br>
ACA Initiator issues a Preempt and Abort Service<br>
Action with a Service Action Reservation Key of 0<br>
<br>
My question concerns Section 5.5.2.7.5, step a in<br>
SPC-3 rev 13. &nbsp;Does the above Preempt and Abort<br>
fail the test in step a since the ACA Initiator is<br>
not preempted or is the releasing of the persistent<br>
reservation that is performed in Section 5.5.2.7.4.3<br>
qualify for the preemption requirement?<br>
<br>
Thanks,<br>
Kenneth Ray Craig, Jr.<br>
<br>
*<br>
* For T10 Reflector information, send a message with<br>
* 'info t10' (no quotes) in the message body to majordomo at t10.org</font><font size=3><br>
<br>
</font>
<br>
<br>
--=_alternative 006CF3BB86256D58_=--




More information about the T10 mailing list