[dovecot-cvs] dovecot/src/lib-storage mail-storage.c, 1.69, 1.70 mail-storage.h, 1.124, 1.125

tss at dovecot.org tss at dovecot.org
Thu Jan 18 16:57:45 UTC 2007


Update of /var/lib/cvs/dovecot/src/lib-storage
In directory talvi:/tmp/cvs-serv22226/src/lib-storage

Modified Files:
	mail-storage.c mail-storage.h 
Log Message:
Removed mail_read_mmaped setting. It's a pretty useless setting and
apparently it can also be buggy.



Index: mail-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- mail-storage.c	28 Dec 2006 16:28:31 -0000	1.69
+++ mail-storage.c	18 Jan 2007 16:57:43 -0000	1.70
@@ -78,8 +78,6 @@
 		*flags_r |= MAIL_STORAGE_FLAG_MMAP_NO_WRITE;
 	if (getenv("DOTLOCK_USE_EXCL") != NULL)
 		*flags_r |= MAIL_STORAGE_FLAG_DOTLOCK_USE_EXCL;
-	if (getenv("MAIL_READ_MMAPED") != NULL)
-		*flags_r |= MAIL_STORAGE_FLAG_MMAP_MAILS;
 	if (getenv("MAIL_SAVE_CRLF") != NULL)
 		*flags_r |= MAIL_STORAGE_FLAG_SAVE_CRLF;
 

Index: mail-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- mail-storage.h	28 Dec 2006 16:28:31 -0000	1.124
+++ mail-storage.h	18 Jan 2007 16:57:43 -0000	1.125
@@ -19,8 +19,6 @@
 	MAIL_STORAGE_FLAG_MMAP_NO_WRITE		= 0x08,
 	/* Remember message headers' MD5 sum */
 	MAIL_STORAGE_FLAG_KEEP_HEADER_MD5	= 0x10,
-	/* Use mmap() for reading mail files. */
-	MAIL_STORAGE_FLAG_MMAP_MAILS		= 0x20,
 	/* Use CRLF linefeeds when saving mails. */
 	MAIL_STORAGE_FLAG_SAVE_CRLF		= 0x40,
 	/* The storage points to shared namespaces */



More information about the dovecot-cvs mailing list