[exim-dev] Command line option to avoid fsync()?

Inizio della pagina
Delete this message
Reply to this message
Autore: Michael Haardt
Data:  
To: exim-dev
Oggetto: [exim-dev] Command line option to avoid fsync()?
Hello,

since quite a while I have an Exim binary for emergency cases that
was compiled with

#define fsync(fd) 0

I know about the consequences, please no discussion about them.

How do you feel about a command line option that does just the same? I
do not think a configuration file option is good, because it is not
meant for regular operation, and people might get tempted to set it
"because things are faster that way", not knowing what they do.

I would go as far as only documenting the option omits fsync() calls,
not saying what that means, in order to avoid people not understanding
the consequences messing with it.

Michael