Mercurial > dovecot > original-hg > dovecot-1.2
diff dovecot-example.conf @ 4918:2f9173e103fd HEAD
Added fsync_disable setting. Also added missing fsync()ing to dbox when
saving mails.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 17 Dec 2006 18:35:31 +0200 |
parents | dea1c8fa53f4 |
children | 15fd97d86693 |
line wrap: on
line diff
--- a/dovecot-example.conf Sun Dec 17 18:34:24 2006 +0200 +++ b/dovecot-example.conf Sun Dec 17 18:35:31 2006 +0200 @@ -280,6 +280,11 @@ # which use separate caches for them, such as OpenBSD. #mmap_no_write = no +# 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) +# goes down. +#fsync_disable = no + # Locking method for index files. Alternatives are fcntl, flock and dotlock. # Dotlocking uses some tricks which may create more disk I/O than other locking # methods. NOTE: If you use NFS, remember to change also mmap_disable setting!