[OpenAFS-devel] Re: [OpenAFS] Callback/Cache Issues with 1.3.82 on FC3

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Wed, 18 May 2005 10:13:36 -0400


On Thu, 5 May 2005, chas williams - CONTRACTOR wrote:
>should ClearCallBack() also clear vnodes with a matching parentVnode?

this question still burns in my mind.  i am now seeing a different
problem.  afs_linux_revalidate() needs to update the d_time when it
believes it has successfully validated an inode in the vnode cache.

however, the check its using is essentially the same as the 
check used in the old dentry revalidate, namely checking CStatd.
when ClearCallBack() breaks the callback on a directory is doesnt
clear the callbacks/CStatd on the directories children vnodes.
it does clear the dnlc for these children and since almost all
the other platforms go through afs_lookup() this would seem to
be sufficient.

so what is the "right thing"?