summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/marker/src/marker-quota.c4
-rw-r--r--xlators/features/qemu-block/src/coroutine-synctask.c2
2 files changed, 3 insertions, 3 deletions
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");
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);