Return-Path: <owner-ips@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips@ece.cmu.edu>
Received: (from majordom@localhost)
	by ece.cmu.edu (8.11.0/8.10.2) id h11L8rg19494
	for ips-outgoing; Sat, 1 Feb 2003 16:08:53 -0500 (EST)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from ztxmail05.ztx.compaq.com (ztxmail05.ztx.compaq.com [161.114.1.209])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h11L8nW19480
	for <ips@ece.cmu.edu>; Sat, 1 Feb 2003 16:08:49 -0500 (EST)
Received: from cceexg13.americas.cpqcorp.net (cceexg13.americas.cpqcorp.net [16.110.250.119])
	by ztxmail05.ztx.compaq.com (Postfix) with ESMTP id 4842355A
	for <ips@ece.cmu.edu>; Sat,  1 Feb 2003 15:08:40 -0600 (CST)
Received: from cceexc17.americas.cpqcorp.net ([16.110.250.84]) by cceexg13.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966);
	 Sat, 1 Feb 2003 15:08:40 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Subject: RE: iSCSI: different question about terminated tasks
Date: Sat, 1 Feb 2003 15:08:39 -0600
Message-ID: <78AF3C342AEAEF4BA33B35A8A15668C604204D82@cceexc17.americas.cpqcorp.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: iSCSI: different question about terminated tasks
Thread-Index: AcLKMNPFEnDPdCTfTse7jLn73Pd4lQAACSyA
From: "Elliott, Robert (Server Storage)" <Elliott@hp.com>
To: <ips@ece.cmu.edu>
X-OriginalArrivalTime: 01 Feb 2003 21:08:40.0102 (UTC) FILETIME=[18174C60:01C2CA36]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ece.cmu.edu id h11L8nW19481
Sender: owner-ips@ece.cmu.edu
Precedence: bulk



> -----Original Message-----
> From: Eddy Quicksall [mailto:eddy_quicksall@ivivity.com] 
> Sent: Saturday, February 01, 2003 2:14 PM
> To: Mallikarjun C.; Bill Studenmund; ips@ece.cmu.edu
> Subject: RE: iSCSI: different question about terminated tasks
> 
> Here is how I understand ACA:
> 
> - one or more commands are in the enabled state
> - the commands are using NACA
> - one of the commands gets an error and reports a check condition
> - the ACA state is set
> - the rest of the commands are (1) aborted or (2) blocked 
> depending on mode page settings

The QERR and TST fields in the Control mode page offer more
combinations than that (for multiple initiators); see table 26 
in SAM-3 revision 4.

> - if aborted, the commands with the NACA bit set each give 
> ACA Active status; 

No; a command that has started processing does not get an ACA ACTIVE 
status.  It is either silently aborted or gets a TASK ABORTED status, 
depending on which initiator sent the task, which one sent the task 
which faulted, and the setting of the TAS bit in the Control mode page.

>                    the commands without the NACA bit give a 
> check condition that they were aborted???

No difference from commands with NACA set - they are silently
aborted or get TASK ABORTED status.

> - if a command without the ACA attribute is received while in 
> ACA, it gets ACA ACTIVE status

Yes.

> - commands with the ACA attribute enter the enabled state 
> (only one at a time allowed or it gets ACA Active)

Yes.

> - when finished with recovery, the initiator sends a Clear 
> ACA TMF to clear the ACA state

Yes.

> - if commands were blocked, they now go to the enabled state

Yes.

--
Rob Elliott, elliott@hp.com
Hewlett-Packard Industry Standard Server Storage Advanced Technology
https://ecardfile.com/id/RobElliott


