Re: [PATCH] 2.5.75 Support dentry revalidation under open(".")

From: Linus Torvalds (torvalds@osdl.org)
Date: Fri Jul 11 2003 - 12:03:44 EST


On Fri, 11 Jul 2003, Trond Myklebust wrote:
>
> The following patch provides a way to do such revalidation for NFS
> without impacting other filesystems.

I'm not sure. It may not impact other filesystems, but it impacts the
internal consistency of the dentry tree, and can cause some really nasty
aliasing issues.

If d_invalidate() returns a failure, that means that the dentry is still
hashed (because it was busy), and returning NULL and leaving the dentry
there sounds very wrong, since it can never be fixed with a new lookup.

                                Linus

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



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:40 EST