From 45c4fb76dfd0756ebd86bf431f5b5761068901b5 Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Sat, 11 Apr 2009 23:32:24 +0530 Subject: updated glusterfsd to create iobuf pool at initialization Signed-off-by: Anand V. Avati --- glusterfsd/src/glusterfsd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index d4ac16a3083..54b42f7745e 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -967,6 +967,7 @@ main (int argc, char *argv[]) free (base_exec_name); + ctx->iobuf_pool = iobuf_pool_new (64 * 1048576, 128 * 1024); ctx->event_pool = event_pool_new (DEFAULT_EVENT_POOL_SIZE); pthread_mutex_init (&(ctx->lock), NULL); pool = ctx->pool = CALLOC (1, sizeof (call_pool_t)); -- cgit