Subject: Re: CVS commit: syssrc/sys/dev/scsipi
To: Andrew Doran <ad@netbsd.org>
From: Matthew Jacob <mjacob@feral.com>
List: source-changes
Date: 08/20/2001 08:35:29
> Matthew Jacob <mjacob@feral.com> wrote:
>
> > > - If we receive sense indicating that the media changed, retry (PR 8326).
> >
> > You probably should *not* do this if the device is opened for non-audio
> > purposes.
>
> Any particular reason in mind?

"Oops! That's not my superblock! (panics)"

Yes, yes, this is a CD- but cd9660 would still get unhappy if things change
out from under it.

I've been coming around to the more traditional view- until we have a
mechanism that does strong device revalidation, we should probably report an
error back to the caller so that UVM/UBC wll not silently pick up a bunch of
'different' pages.

-matt