[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.100, 1.101 index-storage.h, 1.112, 1.113

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


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

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



Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- index-storage.c	28 Dec 2006 20:52:32 -0000	1.100
+++ index-storage.c	18 Jan 2007 16:57:44 -0000	1.101
@@ -385,8 +385,6 @@
 
 	ibox->next_lock_notify = time(NULL) + LOCK_NOTIFY_INTERVAL;
 	ibox->commit_log_file_seq = 0;
-	ibox->mail_read_mmaped =
-		(storage->flags & MAIL_STORAGE_FLAG_MMAP_MAILS) != 0;
 
 	ibox->md5hdr_ext_idx =
 		mail_index_ext_register(index, "header-md5", 0, 16, 1);

Index: index-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.h,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -d -r1.112 -r1.113
--- index-storage.h	21 Dec 2006 15:20:31 -0000	1.112
+++ index-storage.h	18 Jan 2007 16:57:44 -0000	1.113
@@ -72,7 +72,6 @@
 	unsigned int sent_diskspace_warning:1;
 	unsigned int sent_readonly_flags_warning:1;
 	unsigned int notify_pending:1;
-	unsigned int mail_read_mmaped:1;
 	unsigned int move_to_memory:1;
 	unsigned int fsync_disable:1;
 };



More information about the dovecot-cvs mailing list