summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-rebalance.c
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2015-10-13 17:11:29 +0530
committerDan Lambright <dlambrig@redhat.com>2015-10-19 06:06:25 -0700
commit0243085e40d842c59f4d7d59c61701ba416878ec (patch)
treea40ce96332e59d52dc643006912eec6affc53496 /xlators/mgmt/glusterd/src/glusterd-rebalance.c
parent0f31ab1ba9bb7dbc47bfa68cbce81ec104d04ac4 (diff)
cluster/tier: Changed tier xattr-name value
Each tier layer (for future stacking implementations) must have a unique xattr name. We are currently using the name of the tier subvolume excluding the volume name. Change-Id: Id4adea61dc1c8473fb1d4d7364d1940278c6e129 BUG: 1259298 Signed-off-by: N Balachandran <nbalacha@redhat.com> Reviewed-on: http://review.gluster.org/12350 Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Dan Lambright <dlambrig@redhat.com> Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-rebalance.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index 501cf37..2b50920 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
@@ -287,7 +287,7 @@ glusterd_handle_defrag_start (glusterd_volinfo_t *volinfo, char *op_errstr,
if (volinfo->type == GF_CLUSTER_TYPE_TIER) {
runner_add_arg (&runner, "--xlator-option");
runner_argprintf (&runner,
- "*tier-dht.xattr-name=trusted.tier-gfid");
+ "*tier-dht.xattr-name=trusted.tier.tier-dht");
}
runner_add_arg (&runner, "--xlator-option");