glusterd: Store ping-timeout in glusterd conf in memory
As of now glusterd_conf_t's ping-timeout was of no use and hence statedump was not reflecting correct ping-timeout value configured in glusterd.vol Change-Id: I76ba7b721264565751538c7fcdcb801a28317581 BUG: 1210627 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: http://review.gluster.org/10191 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
This commit is contained in:
parent
6e8298654a
commit
c528589a58
@ -1588,6 +1588,11 @@ init (xlator_t *this)
|
||||
}
|
||||
}
|
||||
|
||||
/* Store ping-timeout in conf */
|
||||
ret = dict_get_int32 (this->options, "ping-timeout",
|
||||
&conf->ping_timeout);
|
||||
/* Not failing here since ping-timeout can be optional as well */
|
||||
|
||||
this->private = conf;
|
||||
glusterd_mgmt_v3_lock_init ();
|
||||
glusterd_txn_opinfo_dict_init ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user