Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 1999 12:33:47 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-hackers@freebsd.org
Subject:   A bug in namei cache?
Message-ID:  <Pine.GSO.3.96.990525122841.26333A-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

Suppose you want to mv a directory file (with subdirectories) to another
name (it is like grafting a subtree to another point), the namecache
associated with the source directory file will be purged by calling
cache_purge() (done in ufs_rename()?).  However, the routine cache_purge() 
does not purge cache entries recursively down the subtree.  Will this
result in a lot of stale entries in the namecache? FreeBSD 3.1 no longer
allows stale entries in the namei cache (FreeBSD 2.2.8 does). 

Thanks for any help.

--------------------------------------------------
Zhihui Zhang.  Please visit http://www.freebsd.org
--------------------------------------------------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.990525122841.26333A-100000>