From: Kefu Chai Date: Tue, 22 Mar 2016 15:30:14 +0000 (+0800) Subject: msg/async: avoid log spam on throttle X-Git-Tag: v10.1.1~143^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8263%2Fhead;p=ceph.git msg/async: avoid log spam on throttle increase the log level from 1 to 10, the log is printed when message throttler kicks in. Fixes: #15031 Signed-off-by: Kefu Chai --- diff --git a/src/msg/async/AsyncConnection.cc b/src/msg/async/AsyncConnection.cc index 561d9f54f3dc..611e49890b1f 100644 --- a/src/msg/async/AsyncConnection.cc +++ b/src/msg/async/AsyncConnection.cc @@ -669,9 +669,9 @@ void AsyncConnection::process() << policy.throttler_messages->get_current() << "/" << policy.throttler_messages->get_max() << dendl; if (!policy.throttler_messages->get_or_fail()) { - ldout(async_msgr->cct, 1) << __func__ << " wants 1 message from policy throttle " - << policy.throttler_messages->get_current() << "/" - << policy.throttler_messages->get_max() << " failed, just wait." << dendl; + ldout(async_msgr->cct, 10) << __func__ << " wants 1 message from policy throttle " + << policy.throttler_messages->get_current() << "/" + << policy.throttler_messages->get_max() << " failed, just wait." << dendl; // following thread pool deal with th full message queue isn't a // short time, so we can wait a ms. if (register_time_events.empty())