diff options
author | Avra Sengupta <asengupt@redhat.com> | 2013-02-08 16:46:14 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-08 14:21:13 -0800 |
commit | 78f6c48d960df65487f48e09af81feb55879e9b5 (patch) | |
tree | c41b139074650bfcfd35c3c22c503b582a492422 /xlators/mgmt/glusterd/src | |
parent | e289d3db5f448695bee004da99290346fa787093 (diff) |
glusterd: Made volume-sync use synctask framework.
Change-Id: I048aac2af4d9da9ed541d3756fefefbb2a29198e
BUG: 852147
Signed-off-by: Avra Sengupta <asengupt@redhat.com>
Reviewed-on: http://review.gluster.org/4489
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index 96e142ce944..85e362c2bbf 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -1445,8 +1445,7 @@ glusterd_handle_sync_volume (rpcsvc_request_t *req) goto out; } - ret = glusterd_op_begin (req, GD_OP_SYNC_VOLUME, dict, - msg, sizeof (msg)); + ret = glusterd_op_begin_synctask (req, GD_OP_SYNC_VOLUME, dict); out: if (ret) { @@ -1460,9 +1459,6 @@ out: ret = 0; //sent error to cli, prevent second reply } - glusterd_friend_sm (); - glusterd_op_sm (); - return ret; } |