diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2015-04-02 10:09:39 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2015-04-05 21:29:41 -0700 |
commit | e1e41ae67816ad6f23d074632c9d3f198e15aba3 (patch) | |
tree | e46d9827f05fbe66fcb63fee2942688339d92fbc /xlators/mgmt/glusterd/src/glusterd-volume-set.c | |
parent | 17827defd6703298b68fee8fd08aef69ab0e2866 (diff) |
glusterd: remove duplicate entries from volume set help
gluster volume set help was displaying redundant entries for
performance.cache-size & network.tcp-window-size as the same key is used in
different translators. Fix is to consider all the redundant ones as NO_DOC
Change-Id: I7739d992f6fdbb24765caedbb05099d269110476
BUG: 1005344
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/10110
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 78d44f933a3..22cac46e876 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -689,6 +689,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { /* Other perf xlators' options */ { .key = "performance.cache-size", .voltype = "performance/quick-read", + .type = NO_DOC, .op_version = 1, .flags = OPT_FLAG_CLIENT_OPT }, @@ -853,6 +854,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { }, { .key = "network.tcp-window-size", .voltype = "protocol/server", + .type = NO_DOC, .op_version = 1 }, { .key = "network.inode-lru-limit", |