From: Trond Myklebust Subject: Re: [PATCH 3/3] sunrpc: reduce timeout when unregistering rpcbind registrations. Date: Mon, 06 Jul 2009 13:58:25 -0400 Message-ID: <1246903105.23966.4.camel@heimdal.trondhjem.org> References: <20090528062730.15937.70579.stgit@notabene.brown> <20090528063303.15937.62423.stgit@notabene.brown> <18992.35996.986951.556723@notabene.brown> <4A51F125.5080709@suse.de> <4A52217E.9050207@suse.de> <4E8F91E6-4E55-44BB-889B-DDB9910129BF@oracle.com> <1246898450.11267.12.camel@heimdal.trondhjem.org> <68129579-E484-4E7E-B38D-4E14ED5A5B1D@oracle.com> <1246900456.11267.34.camel@heimdal.trondhjem.org> <71D4E90D-471B-4BFA-B47C-6A5BFD0754E9@oracle.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Suresh Jayaraman , Neil Brown , Linux NFS mailing list To: Chuck Lever Return-path: Received: from mx2.netapp.com ([216.240.18.37]:38351 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751538AbZGFR6b (ORCPT ); Mon, 6 Jul 2009 13:58:31 -0400 In-Reply-To: <71D4E90D-471B-4BFA-B47C-6A5BFD0754E9@oracle.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: 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 www.netapp.com