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>
This commit is contained in:
Atin Mukherjee 2015-04-02 10:09:39 +05:30 committed by Kaushal M
parent 17827defd6
commit e1e41ae678

View File

@ -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",