SORT BY:

LIST ORDER
THREAD
AUTHOR
SUBJECT


SEARCH

IPS HOME


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

    Re: iSCSI: different question about terminated tasks



    >My question is what do we do if there are multiple tasks with the
    > NACA bit set? Do we initiate ACA for each of them, or only once?
    
    This is not an iSCSI issue (please see SAM2r23, 5.8.1), but I'll offer
    just my interpretation of SAM-2.  Also note that there's no formal model
    in SAM-x for a SCSI transport layer to notify the SCSI application layer 
    of a task termination due to transport dynamics.  The model (if and when 
    one is spec'ed) would have to deal with the question of how the notification
    affects that task even when the ACA is active (which is the specific scenario
    you're describing).  I read SAM-2 (with the model caveat) as saying that 
    there shall be one ACA for each terminated task today, if the task with the 
    ACA attribute (the cleanup task) didn't cleanup those to-be-terminated tasks 
    by then.
    
    > Also, in the case of Logout Request, do we wait for all the tasks to go
    > through ACA before sending the Logout Response?
    
    That's not the intent of the "cleanup" wording in 10.15.  Dealing with ACA is a 
    SCSI matter.  The "cleanup" refers to the requirement on the iSCSI layer to
    cleanup all the iSCSI-level task and connection resources associated with the 
    iSCSI connection (along with the task termination notifications, whose after-effects 
    SCSI will deal with), before sending a successful Logout Response.
    
    Hope that helps.
    --
    Mallikarjun
    
    Mallikarjun Chadalapaka
    Networked Storage Architecture
    Network Storage Solutions
    Hewlett-Packard MS 5668 
    Roseville CA 95747
    cbm@rose.hp.com
    
    ----- Original Message ----- 
    From: "Bill Studenmund" <wrstuden@wasabisystems.com>
    To: <ips@ece.cmu.edu>
    Sent: Tuesday, January 28, 2003 4:21 PM
    Subject: iSCSI: different question about terminated tasks
    
    
    > I have a question related to the terminated task thread we had.
    > 
    > When we terminate SCSI tasks for the reasons mentioned in the thread
    > (10.14.5 in draft 20), and they have the NACA bit set, we will establish
    > ACA. My question is what do we do if there are multiple tasks with the
    > NACA bit set? Do we initiate ACA for each of them, or only once?
    > 
    > Also, in the case of Logout Request, do we wait for all the tasks to go
    > through ACA before sending the Logout Response? The text which encourages
    > this question is the first paragraph of 10.15:
    > 
    >    The logout response is used by the target to indicate if the cleanup
    >    operation for the connection(s) has completed.
    > 
    > 
    > Thanks!
    > 
    > Take care,
    > 
    > Bill
    > 
    > 
    
    


Home

Last updated: Wed Jan 29 21:19:04 2003
12276 messages in chronological order