]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/scrub: fixing additional log messages to name pgids 64244/head
authorRonen Friedman <rfriedma@redhat.com>
Sun, 29 Jun 2025 12:41:14 +0000 (07:41 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 30 Jun 2025 10:19:28 +0000 (05:19 -0500)
... instead of shards

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/scrub_queue_entry.h

index edaff94524a0dac0bf72f158f0b33f86c3a4e405..e4892895eb4faabd427bc759f2f2ef4dfa82d0b1 100644 (file)
@@ -210,7 +210,7 @@ struct formatter<Scrub::SchedEntry> {
   auto format(const Scrub::SchedEntry& st, FormatContext& ctx) const
   {
     return fmt::format_to(
-       ctx.out(), "{}/{},nb:{:s},({},tr:{:s})", st.pgid,
+       ctx.out(), "{}/{},nb:{:s},({},tr:{:s})", st.pgid.pgid,
        (st.level == scrub_level_t::deep ? "dp" : "sh"), st.schedule.not_before,
        st.urgency, st.schedule.scheduled_at);
   }