Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 1996 11:04:18 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        peter@spinner.DIALix.COM, terry@lambert.org, current@FreeBSD.ORG
Subject:   Re: DEVFS broken by last devsw_add_generic()/bdevvp() changes
Message-ID:  <199608011804.LAA04259@phaeton.artisoft.com>
In-Reply-To: <199608010936.TAA18475@godzilla.zeta.org.au> from "Bruce Evans" at Aug 1, 96 07:36:47 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> >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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608011804.LAA04259>