SORT BY:

LIST ORDER
THREAD
AUTHOR
SUBJECT


SEARCH

IPS HOME


    [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

    RE: iSCSI: Implicit Termination of Tasks



    If the target treated the loss of an initiator as described in section
    6.3.4, "I_T nexus loss", in SAM-3, then the ACA would be cleared for the
    failing initiator.  The appropriate sense code would be 06/29/07, I_T NEXUS
    LOSS OCCURRED, which is defined for all device types.
    
    According to the T10 website (http://www.t10.org/doc02.htm), Mallikarjun
    wrote proposal 02-232r2, which added this functionality to SAM-3 last year.
    
    dj
    
    -----Original Message-----
    From: Black_David@emc.com [mailto:Black_David@emc.com]
    Sent: Thursday, January 09, 2003 1:56 PM
    To: dcuddihy@attotech.com; ips@ece.cmu.edu
    Subject: RE: iSCSI: Implicit Termination of Tasks
    
    
    David,
    
    > Forgive me for being confused, but what is the reason for the Check
    > Condition being issued?
    
    Good question ...
    
    > Say a target implements a blocking CA, (TST 0 Qerr 0) which would disallow
    > other initiator's tasks from running until the check condition could be
    > reported, or another command from the CA'd initiator completes with good
    > status.  An internal, non- reported check-condition would cause all other
    > initiators' tasks to be blocked until  someone times out and issues a lun
    > reset to the device, or a command from the first initiator completed (not
    > likely, since that initiator logged out and all its tasks have been
    > terminated ).    All this caused by bad behavior on behalf of one
    > initiator.
    
    That shouldn't happen.  iSCSI REQUIRES use of Autosense, which will
    immediately clear the CA by generating a response to report the sense.
    That response gets bit-bucketed as undeliverable for the implicit
    termination scenarios in Section 6.5, but its generation clears
    the CA.  Not the most obvious thing to do/explain, though ...
    
    > Implicit termination is handled in FCP without the check condition being
    > issued... all the tasks from the 'logged out' initiator are terminated,
    > reservations cleared, etc.  and a UA is generated for that initiator.
    > Every other initiator goes along with no problem, including those sharing
    > the lun with the initiator who abruptly logged out.  Seems to work.
    
    That looks like a cleaner way to accomplish this and avoids some of
    the confusion over what ASC/ASCQ values to use.  Does FCP also avoid
    ACA in this circumstance (assuming that NACA is set to use ACA), and
    if so, can you suggest some specific text for iSCSI?
    
    Thanks,
    --David
    ----------------------------------------------------
    David L. Black, Senior Technologist
    EMC Corporation, 176 South St., Hopkinton, MA  01748
    +1 (508) 293-7953 **NEW**     FAX: +1 (508) 293-7786
    black_david@emc.com        Mobile: +1 (978) 394-7754
    ----------------------------------------------------
    


Home

Last updated: Thu Jan 09 16:18:59 2003
12153 messages in chronological order