Re: [exim-dev] Old topic again: Option to avoid fsync()?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: B. Johannessen
CC: exim-dev
Tárgy: Re: [exim-dev] Old topic again: Option to avoid fsync()?
On Wed, 10 Jan 2007, B. Johannessen wrote:

> Michael Haardt wrote:
> > Any other opinions than "enforce fsync, because it works for me"?
>
> If this can be done without impacting those that doesn't want to use the
> feature, I don't think there's much of an argument against it.


It is clear that this is a controversial issue. Perhaps the resolution
is to add the option, but require a compile time configuration to
include the feature. Then it would certainly have zero impact on anybody
who chose not to include it in the binary. If you have it in the binary
but do not turn it on, the impact is a flag test every time Exim might
do an fsync(). I suspect this is a very small cost compared with
everything else that's going on.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book