]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fixup may be an unclaimed tick_event 16153/head
authorhuanwen ren <rhwlyw@163.com>
Thu, 6 Jul 2017 03:28:15 +0000 (11:28 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Thu, 6 Jul 2017 05:30:17 +0000 (13:30 +0800)
The unclaimed tick_event of C_MDS_Tick may be will repeat exist in SafeTimer,
because the timer.cancel_event of reset_tick() will not real-time undo it when "tick_event = 0".

Signed-off-by: huanwen ren ren.huanwen@zte.com.cn
src/mds/MDSDaemon.cc

index 29aa5c2ce178c7eba043d0995d3c48c106f6c53c..fad3429205f6aaa7f162f442caf95739467f9541 100644 (file)
@@ -548,8 +548,6 @@ void MDSDaemon::reset_tick()
 
 void MDSDaemon::tick()
 {
-  tick_event = 0;
-
   // reschedule
   reset_tick();