From owner-freebsd-current Thu Aug 1 11:05:59 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA28796 for current-outgoing; Thu, 1 Aug 1996 11:05:59 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA28791 for ; Thu, 1 Aug 1996 11:05:58 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA04259; Thu, 1 Aug 1996 11:04:18 -0700 From: Terry Lambert Message-Id: <199608011804.LAA04259@phaeton.artisoft.com> Subject: Re: DEVFS broken by last devsw_add_generic()/bdevvp() changes To: bde@zeta.org.au (Bruce Evans) Date: Thu, 1 Aug 1996 11:04:18 -0700 (MST) Cc: peter@spinner.DIALix.COM, terry@lambert.org, current@FreeBSD.ORG In-Reply-To: <199608010936.TAA18475@godzilla.zeta.org.au> from "Bruce Evans" at Aug 1, 96 07:36:47 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >If an I/O is out of range on a wd, the wd strategy returns an error. > >If an I/O is out of range on an sd or od, the strategy does not error > >(there is a "goto done;" without an error being set). > > Actually, they all "goto done;" and this is correct. dscheck() sets > the error flag if necessary. There is no error for EOF. My problem with od and sd are that they silently fail. I don't disagree that they should be allowed to fail, only that they do so silently. There seems to be a possible cascade failure for residuals in excess of the block size from a silent failure... maybe I'm reading things wrong? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.