summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 969548b7600..49ba9aac559 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -555,7 +555,7 @@ glusterd_brick_op_build_payload (glusterd_op_t op, glusterd_brickinfo_t *brickin
goto out;
ret = glusterd_volinfo_find (volname, &volinfo);
if (volinfo->type == GF_CLUSTER_TYPE_TIER)
- snprintf (name, 1024, "tier-dht");
+ snprintf (name, 1024, "%s-tier-dht", volname);
else
snprintf (name, 1024, "%s-dht", volname);
brick_req->name = gf_strdup (name);
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 568ce61fb39..fc8b7699833 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -3401,8 +3401,8 @@ volume_volgen_graph_build_clusters_tier (volgen_graph_t *graph,
volinfo->type = GF_CLUSTER_TYPE_TIER;
- xl = volgen_graph_add_nolink (graph, "cluster/tier", "%s",
- "tier-dht", 0);
+ xl = volgen_graph_add_nolink (graph, "cluster/tier", "%s-%s",
+ st_volname, "tier-dht");
if (!xl)
goto out;