Return-Path: <owner-ips@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips@ece.cmu.edu>
Received: (from majordom@localhost)
	by ece.cmu.edu (8.11.0/8.10.2) id h0H1LQQ14241
	for ips-outgoing; Thu, 16 Jan 2003 20:21:26 -0500 (EST)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from lion.ninthwonder.com (lion.ninthwonder.com [151.199.66.147])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h0H1LHW14226
	for <ips@ece.cmu.edu>; Thu, 16 Jan 2003 20:21:22 -0500 (EST)
Received: by lion.ninthwonder.com (Postfix, from userid 1021)
	id 255B23070E; Thu, 16 Jan 2003 20:21:11 -0500 (EST)
Date: Thu, 16 Jan 2003 17:16:41 -0800 (PST)
From: Bill Studenmund <wrstuden@wasabisystems.com>
X-X-Sender:  <wrstuden@candlekeep.home-net.internetconnect.net>
To: Eddy Quicksall <eddy_quicksall@ivivity.com>
Cc: <ips@ece.cmu.edu>
Subject: Re: iSCSI: using the C bit
In-Reply-To: <AEC4671C8179D61194DE0002B328BDD20B96@ATLOPS>
Message-ID: <Pine.NEB.4.33.0301161707040.499-100000@candlekeep.home-net.internetconnect.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

On Thu, 16 Jan 2003, Eddy Quicksall wrote:

> I want to be sure I understand the use of the C bit in a login. It seems to
> me that the initiator could split a key into two parts: 1st part at the end
> of request A and 2nd part at the beginning of request A+1.
>
> e.g., the end of request A (with C bit set) could be "Immediate" and the
> beginning of request A+1 could be "Data=yes" (the full key=value pair being
> "ImmediateData=yes").
>
> If this is done, the target will not process the partial key and may send
> his own key saying "ImmediateData=no". But, the initiator has already

No! While the partial process part is correct, if the C bit is set, you
can't send anything back.

It's ok to process keys as they come in, but you can't answer them or make
offers if the C bit was set.

> constructed the negotiation and request A+1 would violate the protocol
> because ImmediateData has already been negotiated.
>
> Comments?

The kind of case you describe is exactly why we have the C bit. Its
presence indicates that the sender wasn't able to fit everything it wanted
to say in one packet, so wait for more.

Take care,

Bill

