Mercurial > dovecot > original-hg > dovecot-1.2
diff dovecot-example.conf @ 6896:139bd6094de6 HEAD
Use dotlock_use_excl=yes by default.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 02 Dec 2007 16:22:44 +0200 |
parents | 513076febc7a |
children | 6b5f89c41de5 |
line wrap: on
line diff
--- a/dovecot-example.conf Sun Dec 02 15:49:05 2007 +0200 +++ b/dovecot-example.conf Sun Dec 02 16:22:44 2007 +0200 @@ -300,10 +300,9 @@ # filesystems (NFS or clustered filesystem). #mmap_disable = no -# Rely on O_EXCL to work when creating dotlock files. The default is to use -# hard linking. O_EXCL makes the dotlocking faster, but it doesn't always -# work with NFS. -#dotlock_use_excl = no +# Rely on O_EXCL to work when creating dotlock files. NFS supports O_EXCL +# since version 3, so this should be safe to use nowadays by default. +#dotlock_use_excl = yes # Don't use fsync() or fdatasync() calls. This makes the performance better # at the cost of potential data loss if the server (or the file server)