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: v14.2.2~50^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=53981459b71e8d935f71f010d1ff3d5fe6eb9706;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 (cherry picked from commit 1d464221d998376561c102c83d3127e646815bbb) Conflicts: src/common/legacy_config_opts.h : Resolved for ms_connection_idle_timeout src/common/options.cc : Resolved for ms_connection_idle_timeout src/msg/simple/Pipe.cc : rename ms_tcp_read_timeout to ms_connection_idle_timeout --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 33282df763c82..7eb69d54ceb7c 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -138,6 +138,7 @@ OPTION(ms_bind_before_connect, OPT_BOOL) OPTION(ms_tcp_listen_backlog, OPT_INT) OPTION(ms_rwthread_stack_bytes, OPT_U64) 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 e34a39c69c883..e86bd9d3448cb 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1023,9 +1023,9 @@ std::vector