[8712] in linux-scsi channel archive
Re: question on short transfers
daemon@ATHENA.MIT.EDU (Matthew Dharm)
Tue Apr 25 15:27:08 2000
Date: Tue, 25 Apr 2000 11:47:30 -0700 (PDT)
From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: Eric Youngdale <eric@andante.org>
Cc: Douglas Gilbert <dgilbert@interlog.com>,
Oliver Neukum <Oliver.Neukum@lrz.uni-muenchen.de>,
linux-scsi@vger.rutgers.edu
In-Reply-To: <001501bfaec7$0aaa2170$0f17a8c0@eric.home>
Message-ID: <Pine.LNX.4.10.10004251145000.22275-100000@ziggy.one-eyed-alien.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Tue, 25 Apr 2000, Eric Youngdale wrote:
> The underflow field isn't really used very much. Someone else added it
> long ago, and I never bothered to figure out exactly when and how it is
> supposed to be used. Thus the mid-level usually doesn't set the field. I
> am not wild about half-supported options - we should either rip it out
> entirely or figure out what it is supposed to be used for and finish the
> support. A lot of this depends upon whether support for underflow is
> something that people feel is worthwhile or not.
Personally, I think underflow is really an error condition, and should
cause an auto-REQUEST_SENSE and sense data to be returned along with
CHECK_CONDITION or some other message.
Really, in the case of an underflow, we've most likely got some type of
media problem. And it's very likely that even the part we _think_ got
read/written correctly didn't actually.
So I think we should rip this out.
Matt Dharm
P.S. Heh.. "half-supported options"... that's pretty much the way I feel
about the direction flag and sg driver right now. But that's another
discussion....
--
Matthew Dharm Home: mdharm@one-eyed-alien.net
Senior Engineer, QCP Inc. Work: mdharm@qualcomm.com
Oh great modem, why hast thou forsaken me?
-- Dust Puppy
User Friendly, 3/2/1998
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu