Subject: Re: nfs servers and 5 minute VOP_READ's
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: tech-kern
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 <dolecek@ics.muni.cz>      http://www.ics.muni.cz/~dolecek/
"The only way how to get rid temptation is to yield to it." -- Oscar Wilde