SORT BY:

LIST ORDER
THREAD
AUTHOR
SUBJECT


SEARCH

IPS HOME


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

    iscsi : how should a target process a logout ?


    • To: IPS Reflector <ips@ece.cmu.edu>
    • Subject: iscsi : how should a target process a logout ?
    • From: Santosh Rao <santoshr@cup.hp.com>
    • Date: Fri, 28 Sep 2001 18:14:49 -0700
    • Content-Transfer-Encoding: 7bit
    • Content-Type: text/plain; charset=us-ascii
    • Organization: Hewlett Packard, Cupertino.
    • Sender: owner-ips@ece.cmu.edu

    All,
    
    
    Please refer Rev 7.98 Section 3.14 on logout : 
    
    "After receiving the Logout command the target completes all pending
    commands (device activity, data to/from the initiator, R2T and status
    transfers) that it deems fit to conclude, and then issues the Logout
    response and half-closes the TCP connection (sends FIN)."
    
    I object to the following wording :
    
    "target completes all pending commands (device activity, data to/from
    the initiator, R2T and status transfers) that it deems fit to conclude"
    
    The above seems to imply that the target is supposed to continue
    processing the pending commands and only upon their completion would it
    send a logout response.
    
    I suggest that the above wording be removed and something in its place
    be added to indicate clearly that a target MUST :
    
    - abort all pending I/Os on that connection/session if the logout reason
    code is "close the connection", " or "close the session" respectively.
    
    - transfer the allegiance of all pending commands on that connection if
    the logout reason code is "remove the connection for recovery".
    
    - NOT send back scsi response for any aborted I/Os. The logout response
    implicitly terminates all the pending I/Os on that connection, [or
    session, if the session is being logged out.]
    
    - NOT send any further PDUs to the initiator, other than the response to
    the logout.
    
    Comments ?
    
    Thanks,
    Santosh
    
    
    -- 
    ##################################
    Santosh Rao
    Software Design Engineer,
    HP-UX iSCSI Driver Team,
    Hewlett Packard, Cupertino.
    email : santoshr@cup.hp.com
    Phone : 408-447-3751
    ##################################
    


Home

Last updated: Mon Oct 01 13:17:20 2001
6920 messages in chronological order