Mercurial > dovecot > original-hg > dovecot-1.2
changeset 4656:c27fdb8c61d6 HEAD
Removed MAIL_INDEX_OPEN_FLAG_FAST. It wasn't being used, and we probably
want to have that as a default anyway.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 13 Oct 2006 18:22:15 +0300 |
parents | df8de2e47fb5 |
children | a2a9b6a92831 |
files | src/lib-index/mail-index.h src/lib-storage/index/index-storage.c |
diffstat | 2 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-index.h Fri Oct 13 18:19:54 2006 +0300 +++ b/src/lib-index/mail-index.h Fri Oct 13 18:22:15 2006 +0300 @@ -11,9 +11,6 @@ enum mail_index_open_flags { /* Create index if it doesn't exist */ MAIL_INDEX_OPEN_FLAG_CREATE = 0x01, - /* Open the index as fast as possible - do only minimal checks and - delay opening cache/log files unless they're needed. */ - MAIL_INDEX_OPEN_FLAG_FAST = 0x02, /* Don't try to mmap() index files */ MAIL_INDEX_OPEN_FLAG_MMAP_DISABLE = 0x04, /* Don't try to write() to mmap()ed index files. Required for the few
--- a/src/lib-storage/index/index-storage.c Fri Oct 13 18:19:54 2006 +0300 +++ b/src/lib-storage/index/index-storage.c Fri Oct 13 18:22:15 2006 +0300 @@ -327,8 +327,6 @@ ibox->box.pool, sizeof(void *), 5); index_flags = move_to_memory ? 0 : MAIL_INDEX_OPEN_FLAG_CREATE; - if ((flags & MAILBOX_OPEN_FAST) != 0) - index_flags |= MAIL_INDEX_OPEN_FLAG_FAST; if ((storage->flags & MAIL_STORAGE_FLAG_MMAP_DISABLE) != 0) index_flags |= MAIL_INDEX_OPEN_FLAG_MMAP_DISABLE; #ifndef MMAP_CONFLICTS_WRITE