]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: Reintroduce scrub starts message 47621/head
authorPrashant D <pdhange@redhat.com>
Tue, 31 May 2022 05:07:47 +0000 (06:07 +0100)
committerPrashant D <pdhange@redhat.com>
Tue, 16 Aug 2022 06:30:33 +0000 (02:30 -0400)
commitb473e2228a83dea5b9a1beb25d147c24b00a89ed
tree959e987ff2d3e47f602b364b27f9212af6080125
parentd95e7324caa41f1a058ceca1c5600dcb06806c74
osd/scrub: Reintroduce scrub starts message

Whenever the scrubbing process starts for a PG, We used to log
scrub/deep-scrub "starts" message in the cluster log. We are
not seeing scrub "starts" messages anymore. Reintroduce scrub
starts message in order to calculate exact time taken to
scrub/deep-scrub the PG.

Fixes: https://tracker.ceph.com/issues/55798
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit 2f6272ac8546070cbc78447c558db47dbdff113c)

Conflicts:
src/osd/osd_types_fmt.h: Add formatter for pg_t. Remove
                                 formatter for spg_t, pg_history_t,
                                 pg_info_t and others as they are
                                 not part of quincy yet.
src/osd/osd_types_fmt.h
src/osd/scrubber/pg_scrubber.cc