[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.85.2.9, 1.85.2.10
tss at dovecot.org
tss at dovecot.org
Wed May 16 18:14:17 EEST 2007
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache.c, 1.80.2.9, 1.80.2.10 mail-index-private.h, 1.69.2.7, 1.69.2.8 mail-index.c, 1.230.2.29, 1.230.2.30 mail-index.h, 1.158.2.5, 1.158.2.6 mail-transaction-log.c, 1.111.2.18, 1.111.2.19
- Next message: [dovecot-cvs] dovecot/src/master mail-process.c, 1.96.2.23, 1.96.2.24 master-settings-defs.c, 1.1.2.5, 1.1.2.6 master-settings.c, 1.125.2.29, 1.125.2.30 master-settings.h, 1.83.2.11, 1.83.2.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv28216/src/lib-storage/index
Modified Files:
Tag: branch_1_0
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.85.2.9
retrieving revision 1.85.2.10
diff -u -d -r1.85.2.9 -r1.85.2.10
--- index-storage.c 15 Mar 2007 14:31:14 -0000 1.85.2.9
+++ index-storage.c 16 May 2007 15:14:14 -0000 1.85.2.10
@@ -334,12 +334,10 @@
if (!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.80.2.9, 1.80.2.10 mail-index-private.h, 1.69.2.7, 1.69.2.8 mail-index.c, 1.230.2.29, 1.230.2.30 mail-index.h, 1.158.2.5, 1.158.2.6 mail-transaction-log.c, 1.111.2.18, 1.111.2.19
- Next message: [dovecot-cvs] dovecot/src/master mail-process.c, 1.96.2.23, 1.96.2.24 master-settings-defs.c, 1.1.2.5, 1.1.2.6 master-settings.c, 1.125.2.29, 1.125.2.30 master-settings.h, 1.83.2.11, 1.83.2.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list