summaryrefslogtreecommitdiffstats
path: root/glusterfsd
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-04-17 17:52:07 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-17 17:52:07 +0530
commit98a872df828aa2786c7bf595d430ef64351f4192 (patch)
treecb49d010ef45795c783f7d11cb4703013841cada /glusterfsd
parent0b20c24a399eb03fdc431ea2761e1334e0032651 (diff)
add 4KB margin in iobuf to accommodate fuse header
Diffstat (limited to 'glusterfsd')
-rw-r--r--glusterfsd/src/glusterfsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index e0f2e15fd..10e75ebc0 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -967,7 +967,7 @@ main (int argc, char *argv[])
free (base_exec_name);
- ctx->page_size = 128 * 1024;
+ ctx->page_size = (128 * 1024) + 4096;
ctx->iobuf_pool = iobuf_pool_new (8 * 1048576, ctx->page_size);
ctx->event_pool = event_pool_new (DEFAULT_EVENT_POOL_SIZE);
pthread_mutex_init (&(ctx->lock), NULL);