diff options
author | Zhou Zhengping <johnzzpcrystal@gmail.com> | 2017-05-09 12:13:37 +0800 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-05-17 12:31:11 +0000 |
commit | be14d189360d09f8e10e6b75326df6d1db306467 (patch) | |
tree | 3972ba4eaabdcb699d33e8d807c97a248c61fd25 /xlators/mgmt | |
parent | 2592fa0409d5215473b84012c69ac34d0270ef08 (diff) |
glusterd: remove useless options from glusterd's volume set table
These options will cause brick's log complains:
_log_if_unknown_option] 0-patchy-quota: option 'timeout' is not recognized
_log_if_unknown_option] 0-patchy-server: option 'ping-timeout' is not recognized
Change-Id: Ida2add13f792736a4e52bfaf38d1169309283a3f
BUG: 1449008
Signed-off-by: Zhou Zhengping <johnzzpcrystal@gmail.com>
Reviewed-on: https://review.gluster.org/17213
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Prashanth Pai <ppai@redhat.com>
Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index a5659248253..2b7abf1b7ff 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1803,11 +1803,6 @@ struct volopt_map_entry glusterd_volopt_map[] = { }, /* Server xlator options */ - { .key = "network.ping-timeout", - .voltype = "protocol/server", - .op_version = GD_OP_VERSION_3_7_0, - .value = "42", - }, { .key = "network.tcp-window-size", .voltype = "protocol/server", .type = NO_DOC, @@ -2212,14 +2207,6 @@ struct volopt_map_entry glusterd_volopt_map[] = { .type = NO_DOC, .op_version = 1, }, - { - .key = "features.quota-timeout", - .voltype = "features/quota", - .option = "timeout", - .value = "0", - .op_version = 1, - .validate_fn = validate_quota, - }, { .key = "features.default-soft-limit", .voltype = "features/quota", .option = "default-soft-limit", |