From: Trond Myklebust Subject: Re: [PATCH 001 of 4] Copy intr and soft flags to portmap-bind client Date: Wed, 15 Nov 2006 15:31:26 -0500 Message-ID: <1163622686.5880.1.camel@lade.trondhjem.org> References: <20061024122646.4426.patches@notabene> <1061024024851.4734@suse.de> <76bd70e30610241605x13ae0bamdd306aee2f67d4e1@mail.gmail.com> <1163610689.5691.174.camel@lade.trondhjem.org> <76bd70e30611151138p1b41c85as5b954ed886051ff2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: NeilBrown , Olaf Kirch , Chuck Lever , nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1GkRQY-0001Ie-5y for nfs@lists.sourceforge.net; Wed, 15 Nov 2006 12:32:11 -0800 Received: from pat.uio.no ([129.240.10.15] ident=[U2FsdGVkX1/3dA5Y89Bz/GBLPyE0Sg6mm9WREVDSAF0=]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1GkRQW-0005qp-9J for nfs@lists.sourceforge.net; Wed, 15 Nov 2006 12:32:09 -0800 To: Chuck Lever In-Reply-To: <76bd70e30611151138p1b41c85as5b954ed886051ff2@mail.gmail.com> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net On Wed, 2006-11-15 at 14:38 -0500, Chuck Lever wrote: > > Hmm... Looking at that code, though there is something that bothers me. > > Why are we calling pmap_wake_portmap_waiters every time the call to > > xprt_test_and_set_binding(xprt)!=0? That looks like a nasty bug. > > Well the idea is to make sure the task isn't left on the binding queue > if pmap_getport can't actually queue an rpcbind request. I don't > think it should be waking up all waiters, though -- that part is > probably wrong. It shouldn't be waking anybody up if it just failed because a portmapper request has already been created. In that case, it should just sleep and wait for the request to finish. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs