Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2008 14:19:36 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Konstantin Belousov <kib@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r185557 - head/sys/kern
Message-ID:  <200812021419.37380.jhb@freebsd.org>
In-Reply-To: <200812021114.mB2BEHB3058629@svn.freebsd.org>
References:  <200812021114.mB2BEHB3058629@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812021419.37380.jhb>