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 h1GLSCU19700
	for ips-outgoing; Sun, 16 Feb 2003 16:28:12 -0500 (EST)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from palrel10.hp.com (palrel10.hp.com [156.153.255.245])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h1GLS8W19696
	for <ips@ece.cmu.edu>; Sun, 16 Feb 2003 16:28:10 -0500 (EST)
Received: from hpcuhe.cup.hp.com (hpcuhe.cup.hp.com [15.0.73.200])
	by palrel10.hp.com (Postfix) with ESMTP
	id 215941C02205; Sun, 16 Feb 2003 13:28:00 -0800 (PST)
Received: (from santoshr@localhost)
	by hpcuhe.cup.hp.com (8.9.3 (PHNE_25183)/8.9.3 SMKit7.02) id NAA08657;
	Sun, 16 Feb 2003 13:27:54 -0800 (PST)
From: Santosh Rao <santoshr@cup.hp.com>
Message-Id: <200302162127.NAA08657@hpcuhe.cup.hp.com>
Subject: Re: iSCSI: underrun with a check condition
To: eddyq@ivivity.com (Eddy Quicksall)
Date: Sun, 16 Feb 2003 13:27:53 -0800 (PST)
Cc: ips@ece.cmu.edu ("Ips@Ece.Cmu.Edu (ips@ece.cmu.edu)")
In-Reply-To: <AEC4671C8179D61194DE0002B328BDD20D92@ATLOPS> from "Eddy Quicksall" at Feb 14, 2003 09:57:02 PM
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

Eddy,

Yes, anytime the amount of data transferred does not match the data transfer
length specified, the target must set the U bit or O bit, depending on whether
an underflow or overflow occurred.

A recovered error check condition may be returned as the response to a scsi
command which was processed to completion. The recovered error indicates that a
previous command completed successfully with some recovery action by the device
server and the sense data provides additional details on that previous command.

The current command on which a recovered error check condition was returned may
have been processed to completion, or experienced some underflow or overflow.
This information must be conveyed by the target in the iscsi scsi response pdu
using the appropriate fields to describe the underflow or overflow.

Thanks,
Santosh


> Should the target set the U bit when it gives a check condition to a data-in
> command?
>  
>  
> Eddy
