Re: [PATCH 2.5.3-pre1] Fix NFS dentry lookup behaviour

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 18 Jan 2002 12:53:33 +0000 (GMT)


> all in path_walk() for the special case of accessing cwd. That has 2
> consequences:
>
> - open(".") may succeed even if cwd is know to be a stale dentry.
>
> - The attribute cache, and hence also the data cache, does not get
> revalidated. This breaks close-to-open semantics for those who
> require it, and leads to silly inconsistencies: typically 'ls -l'
> returning gratuitous "file 'blah' does not exist" errors.

This wants fixing at its vfs root (pardon the pun). NFS is not the only
afflicted file system here. Clustered file systems like opengfs face the
same problems where "." can go away from another node
-
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/