[OpenAFS-devel] The ihandle sync thing

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Fri, 29 Mar 2013 13:05:07 -0400


On Fri, 29 Mar 2013 11:58:08 -0400 (EDT)
Benjamin Kaduk <kaduk@MIT.EDU> wrote:

> > On Fri, 29 Mar 2013, chas williams - CONTRACTOR wrote:
> > So, I think that is mildly interesting when you think about the namei
> > fileserver's operation.  I don't think it ever sync's the underlying
> > filesystem's parent directory for the vnode's (vnode's being either a
> > file or directory).  It seems like this might be a problem for vnode
> > creation and deletion.
> 
> And yet things usually work, because of pdflush/syncer thread/etc.

I suspect it is the "usually" that upsets people attached to their data.
Perhaps it would not be too difficult to actually fix the fileserver
correctly as suggested by Andrew.  Relying on the background threads to
"synchronize" the filesystem metadata and the afs filesystem metadata
does seem a bit perilous.