]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: remove the 'has_deep_errors' scheduling flag 60863/head
authorRonen Friedman <rfriedma@redhat.com>
Wed, 27 Nov 2024 18:34:53 +0000 (12:34 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 27 Nov 2024 18:34:53 +0000 (12:34 -0600)
commite79488912ca1b5f6f2b4fa8106270433a05926cf
tree381ac173ce2d8b6336ccc656ebeb42082ddbf556
parent87089a016d659769c98a887be1b44bcfa8951063
osd/scrub: remove the 'has_deep_errors' scheduling flag

Following https://github.com/ceph/ceph/pull/59942
("osd/scrub: separate shallow vs deep errors storage"),
the ScrubStore now holds two separate error databases,
one for the shallow errors and one for the deep errors.

There is no longer a need to prevent (or warn about)
shallow scrubs being performed when deep errors are present.

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