Messages in this thread | | | Date | Mon, 4 Jan 1999 22:04:19 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: 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/
| |