From: David Zafman Date: Thu, 11 Jul 2019 21:24:12 +0000 (+0000) Subject: osd mgr mon: Add mon_warn_on_slow_ping_ratio config as 5% of osd_heartbeat_grace X-Git-Tag: v14.2.5~117^2~17 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9e48aa1144ca3769fafeaba15fd1aa8ee1c0dfb5;p=ceph.git osd mgr mon: Add mon_warn_on_slow_ping_ratio config as 5% of osd_heartbeat_grace Compute network ping threshold based on ratio (5% of 20 seconds is 1 second) Make the threshold value used part of dump_osd_network for osd and mgr Keep mon_warn_on_slow_ping_time (default 0) to optionally override the ratio Signed-off-by: David Zafman (cherry picked from commit 0d1bbd34e96e2da2027861229b376805d5ea8aa6) --- diff --git a/src/common/options.cc b/src/common/options.cc index ec52e4942d6b..9df42fc86980 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1733,9 +1733,17 @@ std::vector