]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: remove requested_scrub_t::deep_scrub_on_error
authorRonen Friedman <rfriedma@redhat.com>
Thu, 8 Aug 2024 13:49:57 +0000 (08:49 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 25 Aug 2024 13:01:00 +0000 (08:01 -0500)
commit0385fc4faf9ad984699feafca1265388671989f7
tree250c9afb3a2785b46f879d31517e5f988771d27b
parent709302478ed528ce2597972740d7de225778af4b
osd/scrub: remove requested_scrub_t::deep_scrub_on_error

This flag was used to indicate that a deep scrub should
be performed if a shallow scrub finds an error. It was
always set true for shallow, regular, scrubs - if
can_autorepair flag was set. Thus, the ephemeral flag in
the requested_scrub_t object is not really needed.

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