Re: imapd and synchronous writes

John Gardiner Myers (jgm+@cmu.edu)
Tue, 12 Mar 1996 11:58:23 -0500 (EST)


"Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de> writes:
> You are saying that fsync() violates the POSIX requirements.

I don't think so. The set of directory entries that reference an
inode are not themselves associated with the inode. It certainly
isn't practical to find them starting with a file descriptor.

Now, open() and rename() may well violate the POSIX requirements by
not committing the change to disk before returning. I wouldn't know.
But the fact that ext2 by default performs directory updates
asynchronously appears to be a delibarate decision. So, I need to
tell sysadmins to change that for those directories that need
synchronous updates.

-- 
_.John G. Myers		Internet: jgm+@CMU.EDU
			LoseNet:  ...!seismo!ihnp4!wiscvm.wisc.edu!give!up