From e1e41ae67816ad6f23d074632c9d3f198e15aba3 Mon Sep 17 00:00:00 2001 From: Atin Mukherjee Date: Thu, 2 Apr 2015 10:09:39 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/10110 Tested-by: Gluster Build System Reviewed-by: Kaushal M --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 ++ 1 file changed, 2 insertions(+) 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", -- cgit