]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async: avoid log spam on throttle 8263/head
authorKefu Chai <kchai@redhat.com>
Tue, 22 Mar 2016 15:30:14 +0000 (23:30 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 22 Mar 2016 15:30:17 +0000 (23:30 +0800)
increase the log level from 1 to 10, the log is printed when message
throttler kicks in.

Fixes: #15031
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/msg/async/AsyncConnection.cc

index 561d9f54f3dc6d4867e87450f0a7d756a785bf53..611e49890b1f09a8564c553240d92fa9a013e884 100644 (file)
@@ -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())