diff --git a/src/osd/osd_types_fmt.h b/src/osd/osd_types_fmt.h index 58a634f70ca..cb54572c8e2 100644 --- a/src/osd/osd_types_fmt.h +++ b/src/osd/osd_types_fmt.h @@ -114,7 +114,7 @@ struct fmt::formatter { template auto format(const pg_t& pg, FormatContext& ctx) { - return fmt::format_to(ctx.out(), "{}.{}", pg.pool(), pg.m_seed); + return fmt::format_to(ctx.out(), "{}.{:x}", pg.pool(), pg.m_seed); } }; diff --git a/src/osd/scrubber/pg_scrubber.cc b/src/osd/scrubber/pg_scrubber.cc index f424d3e52d6..bcf74d0e439 100644 --- a/src/osd/scrubber/pg_scrubber.cc +++ b/src/osd/scrubber/pg_scrubber.cc @@ -2145,6 +2145,10 @@ PgScrubber::PgScrubber(PG* pg) void PgScrubber::set_scrub_begin_time() { scrub_begin_stamp = ceph_clock_now(); + m_osds->clog->debug() << fmt::format( + "{} {} starts", + m_pg->info.pgid.pgid, + m_mode_desc); } void PgScrubber::set_scrub_duration()