Subject: Re: nfs servers and 5 minute VOP_READ's
To: Jaromir Dolecek <dolecek@ics.muni.cz>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: tech-kern
Date: 03/17/1999 20:08:57
On Wed, Mar 17, 1999 at 10:41:51AM +0100, Jaromir Dolecek wrote:
> 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 ?

Uhm, it is defined to have the meaning of "end of file".

	-is