]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: removing some safeguards against out-of-order scrub calls 42780/head
authorRonen Friedman <rfriedma@redhat.com>
Sat, 13 Nov 2021 14:12:57 +0000 (14:12 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 16 Nov 2021 16:05:02 +0000 (16:05 +0000)
commit1a528a1222265b337ec53053d4a6f5d5d917fd7d
treeec3e3df50d01db482b2081030dc51f9fbf4d6f12
parentda57f6edbc5593b8339d770d53b31f12bd6fb679
osd/scrub: removing some safeguards against out-of-order scrub calls

as m_scrubber is created in the PG ctor, and only deleted in the dtor,
we should not encounter a scrub event dispatched to the PG without
having a valid scrubber sub-object.

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