[dovecot-cvs] dovecot/src/master master-settings.c, 1.146, 1.147 master-settings.h, 1.89, 1.90

tss at dovecot.org tss at dovecot.org
Sun Dec 17 16:35:38 UTC 2006


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv18658/src/master

Modified Files:
	master-settings.c master-settings.h 
Log Message:
Added fsync_disable setting. Also added missing fsync()ing to dbox when
saving mails.



Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -d -r1.146 -r1.147
--- master-settings.c	15 Dec 2006 18:38:24 -0000	1.146
+++ master-settings.c	17 Dec 2006 16:35:34 -0000	1.147
@@ -121,6 +121,7 @@
 	DEF(SET_BOOL, mail_read_mmaped),
 	DEF(SET_BOOL, mmap_disable),
 	DEF(SET_BOOL, mmap_no_write),
+	DEF(SET_BOOL, fsync_disable),
 	DEF(SET_STR, lock_method),
 	DEF(SET_BOOL, maildir_stat_dirs),
 	DEF(SET_BOOL, maildir_copy_with_hardlinks),
@@ -333,6 +334,7 @@
 #else
 	MEMBER(mmap_no_write) FALSE,
 #endif
+	MEMBER(fsync_disable) FALSE,
 	MEMBER(lock_method) "fcntl",
 	MEMBER(maildir_stat_dirs) FALSE,
 	MEMBER(maildir_copy_with_hardlinks) FALSE,

Index: master-settings.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- master-settings.h	17 Oct 2006 10:55:59 -0000	1.89
+++ master-settings.h	17 Dec 2006 16:35:34 -0000	1.90
@@ -80,6 +80,7 @@
 	bool mail_read_mmaped;
 	bool mmap_disable;
 	bool mmap_no_write;
+	bool fsync_disable;
 	const char *lock_method;
 	bool maildir_stat_dirs;
 	bool maildir_copy_with_hardlinks;



More information about the dovecot-cvs mailing list