summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-set.c
diff options
context:
space:
mode:
authorVenky Shankar <vshankar@redhat.com>2013-02-21 22:10:27 +0530
committerAnand Avati <avati@redhat.com>2013-04-05 14:40:53 -0700
commit24ee79345fc7346ef78b8adf54008ae77524026b (patch)
tree55129f2b72e766fba2b7c04d9bcb1b283cf2de05 /xlators/mgmt/glusterd/src/glusterd-volume-set.c
parent6a7d28c0f8c107baf376eceb9fc05d9e80bf74e5 (diff)
storage/posix: introduce node-uuid-pathinfo
enabling this option has an effect on pathinfo xattr request returning <node-uuid>:<path> instead of the default - which is <hostname>:<path>. Change-Id: Ice1b38abf8e5df1568bab6d79ec0d53dfa520332 BUG: 765380 Signed-off-by: Venky Shankar <vshankar@redhat.com> Reviewed-on: http://review.gluster.org/4567 Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index cc8a2363608..ec02680ab85 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1109,6 +1109,10 @@ struct volopt_map_entry glusterd_volopt_map[] = {
.option = "brick-gid",
.op_version = 2
},
+ { .key = "storage.node-uuid-pathinfo",
+ .voltype = "storage/posix",
+ .op_version = 2
+ },
{ .key = "config.memory-accounting",
.voltype = "configuration",
.option = "!config",