From owner-svn-src-head@FreeBSD.ORG Tue Dec 2 21:15:01 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE5291065672; Tue, 2 Dec 2008 21:15:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7A00F8FC18; Tue, 2 Dec 2008 21:15:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id mB2LEsxI011443; Tue, 2 Dec 2008 16:14:55 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Konstantin Belousov Date: Tue, 2 Dec 2008 14:19:36 -0500 User-Agent: KMail/1.9.7 References: <200812021114.mB2BEHB3058629@svn.freebsd.org> In-Reply-To: <200812021114.mB2BEHB3058629@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812021419.37380.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Tue, 02 Dec 2008 16:14:55 -0500 (EST) X-Virus-Scanned: ClamAV 0.93.1/8712/Tue Dec 2 12:14:43 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r185557 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2008 21:15:02 -0000 On Tuesday 02 December 2008 06:14:17 am Konstantin Belousov wrote: > Author: kib > Date: Tue Dec 2 11:14:16 2008 > New Revision: 185557 > URL: http://svn.freebsd.org/changeset/base/185557 > > Log: > Shared lookup makes it possible to create several negative cache > entries for one name. Then, creating inode with that name would remove > one entry, leaving others dormant. Reclaiming the vnode would uncover > negative entries, causing false return of ENOENT from the calls like > stat, that do not create inode. > > Prevent creation of the duplicated negative entries. > > Reported and debugged with: pho > Reviewed by: jhb > X-MFC: after shared lookup changes Actually, the NFS client code already supports shared lookups in 6.x+, so I would suggest MFC'ing this in a week or so to both 6.x and 7.x. -- John Baldwin