summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-rebalance.c
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2012-03-22 16:37:42 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-22 04:30:36 -0700
commitafe542eca18888463798747d2a95e5a9d239a4a0 (patch)
treefb4f979e5707d260ecb7c6097eac38998675ceae /xlators/mgmt/glusterd/src/glusterd-rebalance.c
parentdc174a4d60ebca6a67e32c1834c2f0dcbff2c3c0 (diff)
glusterd: bring back the 'non-synctask' behavior
revert back to non synctask behavior Change-Id: Icfc9cbdeaf8dd6735df8366a6121c6598c56fade Signed-off-by: Amar Tumballi <amarts@redhat.com> BUG: 805802 Reviewed-on: http://review.gluster.com/3002 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-rebalance.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index f562e1b8007..84be4073751 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
@@ -454,10 +454,10 @@ glusterd_handle_defrag_volume (rpcsvc_request_t *req)
if ((cmd == GF_DEFRAG_CMD_STATUS) ||
(cmd == GF_DEFRAG_CMD_STOP)) {
- ret = glusterd_op_begin_synctask (req, GD_OP_DEFRAG_BRICK_VOLUME,
+ ret = glusterd_op_begin (req, GD_OP_DEFRAG_BRICK_VOLUME,
dict);
} else
- ret = glusterd_op_begin_synctask (req, GD_OP_REBALANCE, dict);
+ ret = glusterd_op_begin (req, GD_OP_REBALANCE, dict);
out: