Subject: Re: nfs servers and 5 minute VOP_READ's
To: Frank van der Linden <frank@wins.uva.nl>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: tech-kern
Date: 03/16/1999 15:52:38
On Wed, 17 Mar 1999, Frank van der Linden wrote:
> On Tue, Mar 16, 1999 at 03:18:10PM -0800, Bill Studenmund wrote:
> > I'm not sure what "drop me" would consist of though...
>
> You could just not respond, but this will trigger the usual timeout
> mechanisms on the client side. Possible "NFS server not responding"
> messages, but what's worse, "soft" mounts will have the read() or
> write() system calls fail.
Well, I kinda think if you want this functionality to work, you need to be
using nfs v3.
I think not responding would be the best thing for v2. :-)
> > What would happen to a v2 client if we sent it a v3 error?
>
> The client would map the error to "some unknown error happened",
> most probably EIO, and return that to the system call.
That'd be bad. :-(
Take care,
Bill