From: Wietse Venema (no email)
Date: Fri Aug 01 2003 - 09:10:44 EDT
Matthias Andree:
> (Wietse Venema) writes:
>
> > The text below does not confirm that rename()/link() work as
> > required. It would be incorrect to assume that every rename()/link()
> > operation is followed by fsync().
>
> The fix is "mount -o sync", but it's a major PITN because XFS does sync
> when you ask it to, unlike all the other Linux file systems that take
> shortcuts and read "mount -o sync" as "do -o dirsync", if at all.
>
> Wietse, would you accept patches to maildir.c that make Maildir delivery
> safe on async file systems?
Linux XFS breaks both link() AND rename(); therefore patching for
the link() problems alone is pointless.
For qmail, someone did an LD_PRELOAD solution that intercepts all
the relevant file system operations; such an implementation can
actually be tested and verified. Lots of little changes all over
Postfix are not.
Wietse
|
|
|