]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async: add numevents statistics for external_events
authorYan Jun <yan.jun8@zte.com.cn>
Fri, 25 Mar 2016 09:34:12 +0000 (17:34 +0800)
committerSage Weil <sage@redhat.com>
Tue, 7 Jun 2016 15:00:23 +0000 (11:00 -0400)
Maybe we need to add the statistics for external_events.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
(cherry picked from commit f08ca0a0892767a8c40e06e336297109aa6142a1)

src/msg/async/Event.cc

index f242fe735d7dd37db020f02191c39f546ff54b08..0a34cfe2cbab50edbb9ed39e69a68ff7bbf3bcbd 100644 (file)
@@ -430,6 +430,7 @@ int EventCenter::process_events(int timeout_microseconds)
         if (e)
           e->do_request(0);
         cur_process.pop_front();
+        numevents++;
       }
     }
   }