> It is DJB's view that all directory operations (creating, removing,
> linking, etc.) sould be synchronous, just like BSD does.

For the record, FFS with soft-updates does not guarantee synchronous
directory operations; you have to open and fsync() the file you just
moved to be sure the operation has been committed to disk.  See
http://mail-index.netbsd.org/current-users/2000/06/19/0011.html for a
little more information.

Based on the patch, it sounds like ReiserFS agrees with
FFS+softupdates in semantics; that is, if you want to ensure that a
directory operation has completed, you open and fsync the directory
entry you care about.  This behavior is different from ext2fs, where
you have to open and fsync the directory containing the entry you care
about.

Reply via email to