Subject: Re: nfs servers and 5 minute VOP_READ's
To: Bill Sommerfeld <email@example.com>
From: Jaromir Dolecek <firstname.lastname@example.org>
Date: 03/17/1999 10:41:51
Bill Sommerfeld wrote:
> > > > > The client would map the error to "some unknown error happened",
> > > > > most probably EIO, and return that to the system call.
> > >
> > > Hmm. for V2 clients, returning "stale file handle" might give.. better
> > > .. results.
> > Ack.. that causes the client to fail w/ ESTALE.
> If you return *anything* other than success to a V2 client, the read
> will likely fail with some error code. Failing with ESTALE is better
> than failing with a random indeterminate error.
What about returning succes, but zero length data ? Is it possible ?
Does it have any drawbacks ?
Jaromir Dolecek <email@example.com> http://www.ics.muni.cz/~dolecek/
"The only way how to get rid temptation is to yield to it." -- Oscar Wilde