]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: drop redundant ping of tp thread
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 27 Jul 2016 07:01:23 +0000 (15:01 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 27 Jul 2016 22:30:01 +0000 (06:30 +0800)
Because the lock_suspend_timeout() process of PG does the same thing
for each loop.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/OSD.cc

index 4bc3b185546647be21482fbdc49dd46238fb80c5..b3ac61dc676d90cbfa8de9e118e584e4cfb8a3c8 100644 (file)
@@ -8959,7 +8959,6 @@ void OSD::process_peering_events(
     }
     dispatch_context_transaction(rctx, pg, &handle);
     pg->unlock();
-    handle.reset_tp_timeout();
   }
   if (need_up_thru)
     queue_want_up_thru(same_interval_since);