summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2015-11-24 20:59:29 +0530
committerDan Lambright <dlambrig@redhat.com>2015-11-26 11:39:17 -0800
commit3ef88ec70aefd278155aa485e83a2d7bba8b6663 (patch)
tree87a75d676fb602fd9d0769be84f9520f644e1226 /xlators/mgmt/glusterd/src/glusterd-volume-ops.c
parent8d2594d77127ba7ea07a0d68afca0939e1817e39 (diff)
glusterd/tier: Reset to reconfigured values after detach-tier
After detach-tier commit , we have to reset the option reconfigured for tier volume Change-Id: Iae0210259720d6ac14ccc0cc339dc9f54a0c4571 BUG: 1285046 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> Reviewed-on: http://review.gluster.org/12736 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Dan Lambright <dlambrig@redhat.com> Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-ops.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-ops.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
index 72c3894ec96..beab64c23aa 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
@@ -689,26 +689,7 @@ glusterd_handle_cli_delete_volume (rpcsvc_request_t *req)
return glusterd_big_locked_handler (req,
__glusterd_handle_cli_delete_volume);
}
-static char*
-gd_get_shd_key (int type)
-{
- char *key = NULL;
-
- switch (type) {
- case GF_CLUSTER_TYPE_REPLICATE:
- case GF_CLUSTER_TYPE_STRIPE_REPLICATE:
- key = "cluster.self-heal-daemon";
- break;
- case GF_CLUSTER_TYPE_DISPERSE:
- key = "cluster.disperse-self-heal-daemon";
- break;
- default:
- key = NULL;
- break;
- }
- return key;
-}
-static int
+int
glusterd_handle_shd_option_for_tier (glusterd_volinfo_t *volinfo,
char *value, dict_t *dict)
{