]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/pg: add logging to queue_check_readable 48059/head
authorSamuel Just <sjust@redhat.com>
Tue, 13 Sep 2022 02:15:07 +0000 (19:15 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 13 Sep 2022 02:15:07 +0000 (19:15 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/pg.cc

index d23ab6f48bcd5e8f9ff73a0867e7e05506167407..15b6122575200ce2b1f8f3597638f75e49a79936 100644 (file)
@@ -171,8 +171,14 @@ pg_stat_t PG::get_stats() const
 void PG::queue_check_readable(epoch_t last_peering_reset, ceph::timespan delay)
 {
   // handle the peering event in the background
+  logger().debug(
+    "{}: PG::queue_check_readable lpr: {}, delay: {}",
+    *this, last_peering_reset, delay);
   check_readable_timer.cancel();
   check_readable_timer.set_callback([last_peering_reset, this] {
+    logger().debug(
+      "{}: PG::queue_check_readable callback lpr: {}",
+      *this, last_peering_reset);
     (void) shard_services.start_operation<LocalPeeringEvent>(
       this,
       pg_whoami,