[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-uidlist.c, 1.51.2.3, 1.51.2.4

tss at dovecot.org tss at dovecot.org
Thu Dec 28 23:21:06 UTC 2006


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

Modified Files:
      Tag: branch_1_0
	maildir-uidlist.c 
Log Message:
debug: MEMPOOL_GROWING prefix in alloconly pool names means that when
the memory pool needs to be grown, there's no need to log a warning.



Index: maildir-uidlist.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-uidlist.c,v
retrieving revision 1.51.2.3
retrieving revision 1.51.2.4
diff -u -d -r1.51.2.3 -r1.51.2.4
--- maildir-uidlist.c	28 Dec 2006 16:51:06 -0000	1.51.2.3
+++ maildir-uidlist.c	28 Dec 2006 23:21:03 -0000	1.51.2.4
@@ -303,7 +303,8 @@
 
 	if (uidlist->record_pool == NULL) {
 		uidlist->record_pool =
-			pool_alloconly_create("uidlist record_pool",
+			pool_alloconly_create(MEMPOOL_GROWING
+					      "uidlist record_pool",
 					      nearest_power(st.st_size -
 							    st.st_size/8));
 	}
@@ -685,8 +686,8 @@
 		return 1;
 	}
 
-	ctx->record_pool =
-		pool_alloconly_create("maildir_uidlist_sync", 16384);
+	ctx->record_pool = pool_alloconly_create(MEMPOOL_GROWING
+						 "maildir_uidlist_sync", 16384);
 	ctx->files = hash_create(default_pool, ctx->record_pool, 4096,
 				 maildir_hash, maildir_cmp);
 
@@ -717,7 +718,8 @@
 
 		if (uidlist->record_pool == NULL) {
 			uidlist->record_pool =
-				pool_alloconly_create("uidlist record_pool",
+				pool_alloconly_create(MEMPOOL_GROWING
+						      "uidlist record_pool",
 						      1024);
 		}
 



More information about the dovecot-cvs mailing list