lkml.org 
[lkml]   [1999]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dcache problems with vfat


On Tue, 5 Jan 1999 Andries.Brouwer@cwi.nl wrote:
>
> What happens? The "cd /mnt/dir/file" needs the dcache
> entry of dir, but the revalidate fails because dir was
> timestamped with the version of /mnt, but that changed
> when mv ../file . was done. So, the old entry for dir
> is dropped and a new lookup is done.

Hmm.. The old dentry for dir should not just be dropped, it should be
released. Now why doesn't that happen? That sounds like the source of the
problem (technically just dropping the dentry is correct from a dentry
coherency point of view, but leaving an unreferenced and unhashed dentry
around is just a waste of resources and leads to these kinds of secondary
issues).

Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.057 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site