]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix scrub reschedule bug 41972/head
authorwanwencong <wanwc@chinatelecom.cn>
Thu, 25 Feb 2021 09:07:41 +0000 (17:07 +0800)
committerMykola Golub <mgolub@suse.com>
Tue, 22 Jun 2021 11:16:56 +0000 (14:16 +0300)
commitdbecc86b8c468c20a0bcafd3685296b48c493e99
treebde6771db5edf51b525153e73f8db015f3c1cdb8
parentb20e758d1e6b933e8484d91254d7ba7694848e5e
osd: fix scrub reschedule bug

not all element can be visited during reschedule traverse

Fixes: https://tracker.ceph.com/issues/49487
Signed-off-by: wencong wan <wanwc@chinatelecom.cn>
(cherry picked from commit d7561a6e58fc8043b77648a2cdd5d12bb637f92b)

Conflicts:
src/osd/OSD.cc (scrub vs scrub_job variable name, pg->scrubber vs pg->m_planned_scrub)
src/osd/OSD.h (trivial: set vs std::set)
src/osd/OSD.cc
src/osd/OSD.h