summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2016-03-01 17:31:11 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-03-03 19:45:19 -0800
commit8197b46b37cc573c67ba0c3a44539064345eb926 (patch)
tree0d984476c2c8f57ad0667efc2372ab636159a638 /xlators/mgmt
parente42c9a9787da89f48b199b4efd05d0d784d2d393 (diff)
mgmt/glusterd: Show features.shard option in volume-set-help output
Backport of: http://review.gluster.org/#/c/13565/ Change-Id: Ief6f62c65dd8cc736edc785ac06af6ee7309862c BUG: 1313339 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/13566 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index fcc303603bf..b8821680d4c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -2608,7 +2608,8 @@ struct volopt_map_entry glusterd_volopt_map[] = {
.value = "off",
.option = "!shard",
.op_version = GD_OP_VERSION_3_7_0,
- .flags = OPT_FLAG_CLIENT_OPT
+ .description = "enable/disable sharding translator on the volume.",
+ .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_XLATOR_OPT
},
{ .key = "features.shard-block-size",
.voltype = "features/shard",