]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: print pgid in OSD::load_pg()
authorKefu Chai <kchai@redhat.com>
Sat, 5 Sep 2020 13:51:37 +0000 (21:51 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 6 Sep 2020 07:30:15 +0000 (15:30 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd.cc

index 7a4228b03b99afb412d9ec944a94b1053f51134d..427bb15ba0275fead5ced2893aa36acd006545e9 100644 (file)
@@ -590,6 +590,8 @@ seastar::future<Ref<PG>> OSD::make_pg(cached_map_t create_map,
 
 seastar::future<Ref<PG>> OSD::load_pg(spg_t pgid)
 {
+  logger().debug("{}: {}", __func__, pgid);
+
   return seastar::do_with(PGMeta(store.get(), pgid), [] (auto& pg_meta) {
     return pg_meta.get_epoch();
   }).then([this](epoch_t e) {