From owner-freebsd-scsi Sat Mar 20 0:40:50 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from willy.interface-business.de (uriah.interface-business.de [193.101.57.162]) by hub.freebsd.org (Postfix) with ESMTP id 03D471504A for ; Sat, 20 Mar 1999 00:40:23 -0800 (PST) (envelope-from j@willy.interface-business.de) Received: (from j@localhost) by willy.interface-business.de (8.7.6/8.7.3) id RAA00345 for scsi@FreeBSD.ORG; Fri, 19 Mar 1999 17:38:16 +0100 (MET) Date: Fri, 19 Mar 1999 17:38:16 +0100 From: J Wunsch To: scsi@FreeBSD.org Subject: Re: 3.1-STABLE: nrsa0 T4000 doesn't honor "no rewind"? SCSI errs in logs Message-ID: <19990319173816.E284@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mail-Followup-To: scsi@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Matthew Jacob on Thu, Mar 11, 1999 at 10:19:21AM -0800 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As Matthew Jacob wrote: > There was a lot of discussion about this some months back. The > consensus (which I didn't agree with) was that EIO should still be > propagated at early warning (the EOM bit in Sense Data- not the > VOLUME OVERFLOW which is hard physical EOT) rather than using a > (possibly deferred) residual count to an I/O operation to provide > the signification. Btw., i don't agree to this either, and we've had this before. If some data have been written, a `short write' should be returned to the application, and no error set (yet - unless the application attempts to continue writing). Only iff no data have been written at all, an error should be flagged (and that was my part of a compromise in a previous discussion with Justin -- i originally thought an error should never be flagged, just a `0 return', but i agree i've been wrong in this). Fixing this will automatically unbreak dump -a or multivolume tar. -- J"org Wunsch Unix support engineer joerg_wunsch@interface-business.de http://www.interface-business.de/~j To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message