[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.113, 1.114
tss at dovecot.org
tss at dovecot.org
Wed May 16 18:25:32 EEST 2007
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache.c, 1.95, 1.96 mail-index-private.h, 1.83, 1.84 mail-index.c, 1.273, 1.274 mail-index.h, 1.167, 1.168 mail-transaction-log.c, 1.130, 1.131
- Next message: [dovecot-cvs] dovecot/src/lib-storage/list index-mailbox-list.c, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv28795/src/lib-storage/index
Modified Files:
index-storage.c
Log Message:
Removed mmap_no_write setting. The only OS requiring it is OpenBSD, so we're
now forcing mmap_disable=yes with it instead. dovecot.index.cache file is
the most important file to mmap(), but since this didn't work with
mmap_no_write, there's not much point in keeping special code paths for
minimal gains.
Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- index-storage.c 13 May 2007 18:28:41 -0000 1.113
+++ index-storage.c 16 May 2007 15:25:29 -0000 1.114
@@ -361,12 +361,10 @@
if (!ibox->move_to_memory)
index_flags |= MAIL_INDEX_OPEN_FLAG_CREATE;
- if ((storage->flags & MAIL_STORAGE_FLAG_MMAP_DISABLE) != 0)
- index_flags |= MAIL_INDEX_OPEN_FLAG_MMAP_DISABLE;
#ifndef MMAP_CONFLICTS_WRITE
- if ((storage->flags & MAIL_STORAGE_FLAG_MMAP_NO_WRITE) != 0)
+ if ((storage->flags & MAIL_STORAGE_FLAG_MMAP_DISABLE) != 0)
#endif
- index_flags |= MAIL_INDEX_OPEN_FLAG_MMAP_NO_WRITE;
+ index_flags |= MAIL_INDEX_OPEN_FLAG_MMAP_DISABLE;
if ((storage->flags & MAIL_STORAGE_FLAG_DOTLOCK_USE_EXCL) != 0)
index_flags |= MAIL_INDEX_OPEN_FLAG_DOTLOCK_USE_EXCL;
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache.c, 1.95, 1.96 mail-index-private.h, 1.83, 1.84 mail-index.c, 1.273, 1.274 mail-index.h, 1.167, 1.168 mail-transaction-log.c, 1.130, 1.131
- Next message: [dovecot-cvs] dovecot/src/lib-storage/list index-mailbox-list.c, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list