diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2009-04-18 13:27:21 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-18 13:27:21 +0530 |
commit | 42617775a2821dc74300b89dd14a08b068575b2b (patch) | |
tree | 3d2e850e19ceb8abe5753a8a31f742eb5173c214 /glusterfsd | |
parent | fb5cc405ae45b4e573d6acbe3383349a278f2bdf (diff) |
keep ctx->page_size fixed at 128KB but only add the margin for iobufs which are created
Diffstat (limited to 'glusterfsd')
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index 10e75ebc0..551a4490e 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -967,8 +967,8 @@ main (int argc, char *argv[]) free (base_exec_name); - ctx->page_size = (128 * 1024) + 4096; - ctx->iobuf_pool = iobuf_pool_new (8 * 1048576, ctx->page_size); + ctx->page_size = 128 * 1024; + ctx->iobuf_pool = iobuf_pool_new (8 * 1048576, ctx->page_size + 4096); 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)); |