[dovecot-cvs] dovecot/src/lib-storage mail-storage.h,1.74,1.75
    cras at dovecot.org 
    cras at dovecot.org
       
    Sun Aug 15 06:40:34 EEST 2004
    
        - Previous message: [dovecot-cvs] dovecot/src/lib-mail istream-header-filter.c, 1.4,
	1.5 istream-header-filter.h, 1.2, 1.3 message-send.c, 1.22,
	1.23 message-send.h, 1.12, 1.13
 
        - Next message: [dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c,
	1.33, 1.34 index-mail.c, 1.48, 1.49 index-storage.c, 1.61, 1.62
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
Update of /home/cvs/dovecot/src/lib-storage
In directory talvi:/tmp/cvs-serv20173/lib-storage
Modified Files:
	mail-storage.h 
Log Message:
We never do blocking reads/writes to network anymore. Changed imap and pop3
processes to use a single I/O loop.
Not much tested yet, and currently LIST/LSUB may eat too much memory and
APPEND eats all CPU.
Index: mail-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- mail-storage.h	22 Jul 2004 21:20:00 -0000	1.74
+++ mail-storage.h	15 Aug 2004 03:40:31 -0000	1.75
@@ -84,9 +84,17 @@
 };
 
 enum mailbox_sync_flags {
+	/* Normally syncing checks if mailbox has changed, if yes it reads it
+	   but doesn't necessarily write our internal state back to mailbox.
+
+	   Fast syncing doesn't necessarily even check if mailbox has changed.
+
+	   Full syncing makes sure our internal state is fully synced with the
+	   mailbox. */
 	MAILBOX_SYNC_FLAG_FAST		= 0x01,
-	MAILBOX_SYNC_FLAG_NO_EXPUNGES	= 0x02,
-	MAILBOX_SYNC_AUTO_STOP		= 0x04
+	MAILBOX_SYNC_FLAG_FULL		= 0x02,
+	MAILBOX_SYNC_FLAG_NO_EXPUNGES	= 0x04,
+	MAILBOX_SYNC_AUTO_STOP		= 0x08
 };
 
 enum mailbox_sync_type {
    
    
        
	- Previous message: [dovecot-cvs] dovecot/src/lib-mail istream-header-filter.c, 1.4,
	1.5 istream-header-filter.h, 1.2, 1.3 message-send.c, 1.22,
	1.23 message-send.h, 1.12, 1.13
 
	- Next message: [dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c,
	1.33, 1.34 index-mail.c, 1.48, 1.49 index-storage.c, 1.61, 1.62
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the dovecot-cvs
mailing list