[dovecot-cvs] dovecot/src/lib-storage/index index-storage.h, 1.79, 1.80

cras at dovecot.org cras at dovecot.org
Sun Oct 10 20:44:56 EEST 2004


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

Modified Files:
	index-storage.h 
Log Message:
Don't lock/unlock mbox separately for each message. Drop the lock only at
the end of the transaction.



Index: index-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.h,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- index-storage.h	26 Sep 2004 14:15:56 -0000	1.79
+++ index-storage.h	10 Oct 2004 17:44:54 -0000	1.80
@@ -78,7 +78,7 @@
 	ino_t mbox_ino;
 	unsigned int mbox_excl_locks, mbox_shared_locks;
 	struct dotlock mbox_dotlock;
-	unsigned int mbox_lock_id, mbox_mail_lock_id;
+	unsigned int mbox_lock_id;
 	int mbox_readonly;
 	time_t mbox_dirty_stamp;
 	off_t mbox_dirty_size;



More information about the dovecot-cvs mailing list