]> git.michaelhowe.org Git - packages/o/openafs.git/commit
d-revalidate-redux-20050508
authorChas Williams <chas@cmf.nrl.navy.mil>
Sun, 8 May 2005 06:38:15 +0000 (06:38 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 8 May 2005 06:38:15 +0000 (06:38 +0000)
commitf6883dfbbcbe14f65c2b9e44f2841392050e755f
treecea8536c3bf25779459ebbd45fee97b8931756fa
parentba9a46089417c13ca5570839713ddeadc2413ef7
d-revalidate-redux-20050508

FIXES 18588

when the callback for a directory is broken the children of this vnode
are not invalidated as well. so VerifyVCache() always believes these
vnodes to be up to date since they will still have the CStatd flag.

perhaps breaking the callback on a directory should also clear CStatd
on children vnodes?

this isnt a problem for other operating system which go through the
dnlc which does purge the children entries for the vnode in question
during ClearCallBack().

since d_revalidate now avoids the dnlc (and afs_lookup) the following
patch tracks the parent vnode's DataVersion (just the lower half really
but this should be sufficient) in d_time. if the parent has changed
then the dentry is flagged as neededing updated.
src/afs/LINUX/osi_vnodeops.c