summaryrefslogtreecommitdiffstats
path: root/glusterfsd
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-04-11 23:32:24 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-12 11:33:48 +0530
commit45c4fb76dfd0756ebd86bf431f5b5761068901b5 (patch)
treea5cbd42b21d9441dc11c44d70f53ad187714f630 /glusterfsd
parent6d94a368e061afeeac6fb57c5910c71f60791dc3 (diff)
updated glusterfsd to create iobuf pool at initialization
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'glusterfsd')
-rw-r--r--glusterfsd/src/glusterfsd.c1
1 files changed, 1 insertions, 0 deletions
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));