]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async/Event: debug event address when dispatching and executing
authorHaomai Wang <haomai@xsky.com>
Sat, 9 Jul 2016 16:18:22 +0000 (00:18 +0800)
committerHaomai Wang <haomai@xsky.com>
Tue, 16 Aug 2016 15:17:55 +0000 (23:17 +0800)
Signed-off-by: Haomai Wang <haomai@xsky.com>
src/msg/async/Event.cc

index 1388ee9bd5a1b997e405b25aec622133a0d41846..b3b12ddd03036dbf47265891ea966c4f0e14de3a 100644 (file)
@@ -370,6 +370,7 @@ int EventCenter::process_events(int timeout_microseconds)
       external_lock.unlock();
       while (!cur_process.empty()) {
         EventCallbackRef e = cur_process.front();
+        ldout(cct, 20) << __func__ << " do " << e << dendl;
         if (e)
           e->do_request(0);
         cur_process.pop_front();
@@ -389,5 +390,5 @@ void EventCenter::dispatch_event_external(EventCallbackRef e)
   if (!in_thread())
     wakeup();
 
-  ldout(cct, 10) << __func__ << " " << e << " pending " << num << dendl;
+  ldout(cct, 20) << __func__ << " " << e << " pending " << num << dendl;
 }