From 7f9108fc0a5c9543e18ad52759a3ebdf91900a33 Mon Sep 17 00:00:00 2001 From: vmallika Date: Thu, 2 Jul 2015 12:22:49 +0530 Subject: quota/marker: use smaller stacksize in synctask for marker updation Default stacksize that synctask uses is 2M. For marker we set it to 16k Also move market xlator close to io-threads to have smaller stack Change-Id: I8730132a6365cc9e242a3564a1e615d94ef2c651 BUG: 1207735 Signed-off-by: vmallika Reviewed-on: http://review.gluster.org/11499 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Krishnan Parthasarathi Reviewed-by: Raghavendra G --- xlators/features/marker/src/marker-quota.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/features/marker') diff --git a/xlators/features/marker/src/marker-quota.c b/xlators/features/marker/src/marker-quota.c index 17ac85a05d8..00488c8407a 100644 --- a/xlators/features/marker/src/marker-quota.c +++ b/xlators/features/marker/src/marker-quota.c @@ -2820,8 +2820,8 @@ mq_synctask (xlator_t *this, synctask_fn_t task, gf_boolean_t spawn, loc_t *loc, args->contri = contri; if (spawn) { - ret = synctask_new (this->ctx->env, task, mq_synctask_cleanup, - NULL, args); + ret = synctask_new1 (this->ctx->env, 1024 * 16, task, + mq_synctask_cleanup, NULL, args); if (ret) { gf_log (this->name, GF_LOG_ERROR, "Failed to spawn " "new synctask"); -- cgit