From: xie xingguo Date: Sat, 2 Mar 2019 06:12:12 +0000 (+0800) Subject: msg: rename ms_tcp_read_timeout to ms_connection_idle_timeout X-Git-Tag: v15.1.0~3006^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1d464221d998376561c102c83d3127e646815bbb;p=ceph.git msg: rename ms_tcp_read_timeout to ms_connection_idle_timeout The old naming is confusing, e.g., it actually indicates we should tear down the underlying connection which has no read/write activities at both sides (namely connection is idle) for over 15 minutes. Signed-off-by: xie xingguo --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index c10a906e6595..7fe64976ceea 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -120,7 +120,7 @@ OPTION(ms_bind_retry_count, OPT_INT) // If binding fails, how many times do we r OPTION(ms_bind_retry_delay, OPT_INT) // Delay between attempts to bind OPTION(ms_bind_before_connect, OPT_BOOL) OPTION(ms_tcp_listen_backlog, OPT_INT) -OPTION(ms_tcp_read_timeout, OPT_U64) +OPTION(ms_connection_idle_timeout, OPT_U64) OPTION(ms_pq_max_tokens_per_priority, OPT_U64) OPTION(ms_pq_min_cost, OPT_U64) OPTION(ms_inject_socket_failures, OPT_U64) diff --git a/src/common/options.cc b/src/common/options.cc index 8a35540db451..1e6aa4b5fca1 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -955,9 +955,9 @@ std::vector