On Mon, May 22, 2000 at 08:09:36PM -0400, Thomas Bushnell, BSG wrote:
> Marcus Brinkmann <[EMAIL PROTECTED]> writes:
> 
> > > This is not a serious problem.  If you choose this implementation, all
> > > you have to do is purge the cache of the changing id.  
> 
> > I am considering this, however, I am a bit concerned about performance
> > impact (as the name cache would become effectively unused except if you
> > lookup a file to which a reference is help and which is still in the cache).
> 
> Huh?  You would only purge the cache when a rename happens.  That's
> not so bad, I think.  I'm not suggesting purging the cache everytime
> you release an inode, just every time it's number changes.

Mmmh. Assume a rename happens while there is an open file handle.
What happens if then fsys_getfile is called, which does an lookup_hard on
the cache_id in the file handle?

Thanks,
Marcus 

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
[EMAIL PROTECTED],     [EMAIL PROTECTED]    PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       [EMAIL PROTECTED]

Reply via email to