lkml.org 
[lkml]   [1996]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: imapd and synchronous writes
"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


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.067 / U:1.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site