mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
Merge pull request #46438 from pdvian/wip-scrub-starts
osd/scrub: Reintroduce scrub starts message Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
This commit is contained in:
commit
789e61cd5f
@ -114,7 +114,7 @@ struct fmt::formatter<pg_t> {
|
||||
template <typename FormatContext>
|
||||
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);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user