From: huanwen ren Date: Thu, 6 Jul 2017 03:28:15 +0000 (+0800) Subject: mds: fixup may be an unclaimed tick_event X-Git-Tag: v12.1.2~255^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=43e7fc005b6a7884a201ac996c3ea924c8793705;p=ceph-ci.git mds: fixup may be an unclaimed tick_event 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 --- diff --git a/src/mds/MDSDaemon.cc b/src/mds/MDSDaemon.cc index 29aa5c2ce17..fad3429205f 100644 --- a/src/mds/MDSDaemon.cc +++ b/src/mds/MDSDaemon.cc @@ -548,8 +548,6 @@ void MDSDaemon::reset_tick() void MDSDaemon::tick() { - tick_event = 0; - // reschedule reset_tick();