Return-Path: <owner-ips-outgoing@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips-outgoing@ece.cmu.edu>
Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h46MrG318354
	for <ipsml@ece.cmu.edu>; Tue, 6 May 2003 18:53:16 -0400 (EDT)
Received: by bache.ece.cmu.edu (Postfix, from userid 953)
	id 691357B; Tue,  6 May 2003 18:53:15 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by bache.ece.cmu.edu (Postfix) with ESMTP
	id B2F9E68; Tue,  6 May 2003 18:53:11 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix)
	id BCA8D896B; Tue,  6 May 2003 18:52:58 -0400 (EDT)
Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23])
	by sos.ece.cmu.edu (Postfix) with ESMTP id AF3D88963
	for <ips-outgoing@sos.ece.cmu.edu>; Tue,  6 May 2003 18:52:58 -0400 (EDT)
Received: by bache.ece.cmu.edu (Postfix)
	id 7B99E68; Tue,  6 May 2003 18:52:58 -0400 (EDT)
Received: by bache.ece.cmu.edu (Postfix, from userid 953)
	id 6464F73; Tue,  6 May 2003 18:52:58 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by bache.ece.cmu.edu (Postfix) with ESMTP id D80DD68
	for <ips-outgoing@ece.cmu.edu>; Tue,  6 May 2003 18:52:52 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix, from userid 363)
	id B1D32896C; Tue,  6 May 2003 18:52:52 -0400 (EDT)
X-Original-To: ips@sos.ece.cmu.edu
Received: from osgood.ece.cmu.edu (OSGOOD.ECE.CMU.EDU [128.2.129.25])
	by sos.ece.cmu.edu (Postfix) with ESMTP id 0DADA8963
	for <ips@sos.ece.cmu.edu>; Tue,  6 May 2003 18:52:50 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix)
	id 9B9D36A; Tue,  6 May 2003 18:52:50 -0400 (EDT)
Delivered-To: ips@ece.cmu.edu
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id 7AF156F; Tue,  6 May 2003 18:52:50 -0400 (EDT)
Received: from mail.ivivity.com (unknown [64.238.111.99])
	by osgood.ece.cmu.edu (Postfix) with ESMTP id 4022E6A
	for <ips@ece.cmu.edu>; Tue,  6 May 2003 18:52:48 -0400 (EDT)
Received: by ATLOPS with Internet Mail Service (5.5.2653.19)
	id <2CY0SWC8>; Tue, 6 May 2003 18:52:48 -0400
Message-ID: <AEC4671C8179D61194DE0002B328BDD26A7DF0@ATLOPS>
From: Eddy Quicksall <eddy_quicksall@ivivity.com>
To: wrstuden@wasabisystems.com, Eddy Quicksall <eddy_quicksall@ivivity.com>
Cc: ips@ece.cmu.edu
Subject: RE: iSCSI: clearing SCSI objects
Date: Tue, 6 May 2003 18:52:39 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: owner-ips@ece.cmu.edu
Precedence: bulk
X-Spam-Status: No, hits=-22.6 required=5.0
	tests=BAYES_01,EMAIL_ATTRIBUTION,ORIGINAL_MESSAGE,
	      QUOTED_EMAIL_TEXT
	version=2.50
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp)

Perfect ... thanks. I read that section a few times but must have had
blinders on when I hit that paragraph.

Eddy

-----Original Message-----
From: wrstuden@wasabisystems.com [mailto:wrstuden@wasabisystems.com] 
Sent: Tuesday, May 06, 2003 6:33 PM
To: Eddy Quicksall
Cc: ips@ece.cmu.edu
Subject: RE: iSCSI: clearing SCSI objects

On Mon, 5 May 2003, Eddy Quicksall wrote:

> If you have persistent reserves, you will lose them.
>
> Keeping them around in the absence of persistent reserves is for full
> compliance and it is easy to do.

Ok, I re-read section 6.3.4, and see an easy out. You don't need the LRU
list you were talking about. ;-)

Make use of the paragraph that starts, "IF the logical unit does not
retain state..." and you're fine. Just send the UA/POWER ON OCCURRED and
you're set.

If there is a persistent reservation, you are retaining state so you have
to remember if you logged out due to nexus loss. But that is just one bit
on top of all the other weight of a reservation, and also you can note the
resource shortage when a future initiator attempts to make a new
registration (or reservation).

So you don't need the LRU list.

Take care,

Bill
