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 h46MXp317178
	for <ipsml@ece.cmu.edu>; Tue, 6 May 2003 18:33:51 -0400 (EDT)
Received: by bache.ece.cmu.edu (Postfix, from userid 953)
	id 9E76D7C; Tue,  6 May 2003 18:33:50 -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 425C573; Tue,  6 May 2003 18:33:45 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix)
	id 20C748966; Tue,  6 May 2003 18:33:33 -0400 (EDT)
Received: from osgood.ece.cmu.edu (OSGOOD.ECE.CMU.EDU [128.2.129.25])
	by sos.ece.cmu.edu (Postfix) with ESMTP id 142738963
	for <ips-outgoing@sos.ece.cmu.edu>; Tue,  6 May 2003 18:33:33 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix)
	id F11536A; Tue,  6 May 2003 18:33:32 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id CF0276E; Tue,  6 May 2003 18:33:32 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by osgood.ece.cmu.edu (Postfix) with ESMTP id 2CF4B6A
	for <ips-outgoing@ece.cmu.edu>; Tue,  6 May 2003 18:33:31 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix, from userid 363)
	id 1AAA18967; Tue,  6 May 2003 18:33:31 -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 964F38963
	for <ips@sos.ece.cmu.edu>; Tue,  6 May 2003 18:33:29 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix)
	id 7E6146A; Tue,  6 May 2003 18:33:29 -0400 (EDT)
Delivered-To: ips@ece.cmu.edu
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id 5DFBC6F; Tue,  6 May 2003 18:33:29 -0400 (EDT)
Received: from lion.ninthwonder.com (lion.ninthwonder.com [151.199.66.147])
	by osgood.ece.cmu.edu (Postfix) with ESMTP id 2E8726B
	for <ips@ece.cmu.edu>; Tue,  6 May 2003 18:33:27 -0400 (EDT)
Received: by lion.ninthwonder.com (Postfix, from userid 1021)
	id 8EE3930706; Tue,  6 May 2003 18:33:27 -0400 (EDT)
Date: Tue, 6 May 2003 22:33:10 +0000 (UTC)
From: wrstuden@wasabisystems.com
X-X-Sender: wrstuden@neverwinter.home-net.icnt.net
To: Eddy Quicksall <eddy_quicksall@ivivity.com>
Cc: ips@ece.cmu.edu
Subject: RE: iSCSI: clearing SCSI objects
In-Reply-To: <AEC4671C8179D61194DE0002B328BDD26A7D35@ATLOPS>
Message-ID: <Pine.NEB.4.53.0305062224340.753@neverwinter.home-net.icnt.net>
References: <AEC4671C8179D61194DE0002B328BDD26A7D35@ATLOPS>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ips@ece.cmu.edu
Precedence: bulk
X-Spam-Status: No, hits=-36.4 required=5.0
	tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,NO_REAL_NAME,
	      QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES,
	      USER_AGENT_PINE
	autolearn=ham	version=2.50
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp)

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
