diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2011-09-29 19:37:18 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-09-29 09:55:15 -0700 |
commit | b43596fb4cdb84ae8b5665537914fe72517b8722 (patch) | |
tree | 36d378691d0e09db35d2cf53d1adba18a12181e0 /xlators/mgmt/glusterd/src/glusterd-volume-ops.c | |
parent | ce8a569e9f18cfff2f2befe259c2022d9b37538f (diff) |
mgmt/glusterd: skip shd graph generation for non-replicate vols
Change-Id: I1bb83342bc0fa883ede527527ec8fd6ee470f781
BUG: 3666
Reviewed-on: http://review.gluster.com/535
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-ops.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-ops.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c index 6888fd9d5..b1686b321 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c @@ -1299,12 +1299,7 @@ glusterd_op_stop_volume (dict_t *dict) if (ret) goto out; - if (glusterd_are_all_volumes_stopped ()) { - ret = glusterd_nodesvcs_stop (volinfo); - } else { - ret = glusterd_nodesvcs_handle_graph_change (volinfo); - } - + ret = glusterd_nodesvcs_handle_graph_change (volinfo); out: return ret; } |