diff options
author | vmallika <vmallika@redhat.com> | 2015-07-02 12:22:49 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-07-09 23:54:23 -0700 |
commit | 7f9108fc0a5c9543e18ad52759a3ebdf91900a33 (patch) | |
tree | 15ef41e0e1bc8cf691bbc1a6f88aa0c621875192 /xlators/features/qemu-block | |
parent | 3d21219cdd53a5b6ef62501b042626133b34e0c1 (diff) |
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 <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/11499
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/features/qemu-block')
-rw-r--r-- | xlators/features/qemu-block/src/coroutine-synctask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/qemu-block/src/coroutine-synctask.c b/xlators/features/qemu-block/src/coroutine-synctask.c index 68aef854072..d7d43831af4 100644 --- a/xlators/features/qemu-block/src/coroutine-synctask.c +++ b/xlators/features/qemu-block/src/coroutine-synctask.c @@ -100,7 +100,7 @@ qb_coroutine (call_frame_t *frame, synctask_fn_t fn) LOCK(&qb_co.lock); if (!qb_co.task) - qb_co.task = synctask_create(qb_conf->env, qb_synctask_wrap, + qb_co.task = synctask_create(qb_conf->env, 0, qb_synctask_wrap, synctask_nop_cbk, frame, NULL); list_add_tail(&qb_local->list, &qb_co.queue); |