From: wangxinyu Date: Wed, 1 Sep 2021 07:17:32 +0000 (+0800) Subject: msg: Add target_addr to log message when connections timed out X-Git-Tag: v18.0.0~412^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F43005%2Fhead;p=ceph.git msg: Add target_addr to log message when connections timed out Add target_addr to log message when connections timed out. It will be helpful for problem location. Signed-off-by: wangxinyu --- diff --git a/src/msg/async/AsyncConnection.cc b/src/msg/async/AsyncConnection.cc index 5769c580e07..e916d26aefe 100644 --- a/src/msg/async/AsyncConnection.cc +++ b/src/msg/async/AsyncConnection.cc @@ -764,7 +764,8 @@ void AsyncConnection::tick(uint64_t id) (now - last_connect_started).count()) { ldout(async_msgr->cct, 1) << __func__ << " see no progress in more than " << connect_timeout_us - << " us during connecting, fault." + << " us during connecting to " + << target_addr << ", fault." << dendl; protocol->fault(); } else {