dovecot-2.2: lib-storage: Mailbox list indexes didn't use mail_f...

dovecot at dovecot.org dovecot at dovecot.org
Fri May 2 07:35:52 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/9b53f6bf0427
changeset: 17300:9b53f6bf0427
user:      Timo Sirainen <tss at iki.fi>
date:      Fri May 02 10:35:05 2014 +0300
description:
lib-storage: Mailbox list indexes didn't use mail_fsync setting.

diffstat:

 src/lib-storage/list/mailbox-list-index.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 501a19fc2747 -r 9b53f6bf0427 src/lib-storage/list/mailbox-list-index.c
--- a/src/lib-storage/list/mailbox-list-index.c	Fri May 02 09:29:05 2014 +0300
+++ b/src/lib-storage/list/mailbox-list-index.c	Fri May 02 10:35:05 2014 +0300
@@ -72,6 +72,7 @@
 				   perm.file_create_gid,
 				   perm.file_create_gid_origin);
 
+	mail_index_set_fsync_mode(ilist->index, set->parsed_fsync_mode, 0);
 	mail_index_set_lock_method(ilist->index, set->parsed_lock_method,
 				   lock_timeout);
 	if (mail_index_open_or_create(ilist->index, index_flags) < 0) {


More information about the dovecot-cvs mailing list