Re: [PATCH 3/3] sunrpc: reduce timeout when unregistering rpcbind registrations.

Trond Myklebust
2009-07-06T17:58:31Z

On Mon, 2009-07-06 at 13:51 -0400, Chuck Lever wrote:

> In both cases, it turns out that the library implementations in user
> space already fail quickly. RPC_CANTRECV is returned if an attempt is
> made to send an rpcbind query to an inactive UDP port.
> RPC_SYSTEMERROR/ECONNREFUSED is returned if an attempt is made to send
> an rpcbind query to an inactive TCP port. In my view, the kernel is
> lacking here, and should be made to emulate user space more closely.

I fully agree that we can fix the above by more judicious interpretation
of the returned networking errors. What I don't see eye to eye with is
the assertion that has been floating about that the current behaviour
should be a good enough reason to add kernel AF_LOCAL support.

Trond
--
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com