Re: ext3-2.4-0.9.4

James Antill
2001-08-07T02:08:05Z

"Patrick J. LoPresti" <patl@cag.lcs.mit.edu> writes:

[snip sendmail/cyrus/qmail/postfix]

Just in case anyone cares here's what exim does (AFAICS)...

int fd1 = open(f1);
write(fd1);
fsync(fd1);

int fd2 = open(tmp);
write(fd2);
fsync(fd2);
rename(tmp, f2); // Good at this point.

So that seems to rely on all dir operations being sync.

Ps. I did a patch for exim to do the dir sync though...

http://www.and.org/exim-3.31-dirfsync.patch

--
# James Antill -- james@and.org
:0:
* ^From: .*james@and\.org
/dev/null