In message <[EMAIL PROTECTED]>,"John S. Bucy" writ
>I understand now ... the vfs is doing 
>d_op->d_revalidate = afs_linux_revalidate_dentry(), it falls through the
>dnlc and does an afs_lookup().  It seems like the revalidate routine
>should be able to know whether or not the dir vnode has changed since
>the dentry was last validated and only do the lookup in that case.

and in afs_lookup() it does another osi_dnlc_lookup() which will fail
again.  so when you are going to miss the dnlc cache, you will miss
it twice.  i dont remember, why does revalidate look in the dnlc?

> right now that might be used to track, say, the data version of the
> dir vnode.

sounds like a good idea.
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to