]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: modify (deep)scrub ASOK commands
authorRonen Friedman <rfriedma@redhat.com>
Mon, 6 Nov 2023 10:08:57 +0000 (04:08 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 11 Nov 2023 12:03:44 +0000 (06:03 -0600)
commit653ae9ebc143617d99997fa872ddaf0c5fd60223
treefbe565e76f2ff689f3ebede52732daa4ed635df1
parent5e60c0f4ddd6084402652007a7ad0a7ac14260d3
osd/scrub: modify (deep)scrub ASOK commands

Fix all instances of 'deep_scrub' to the documented format (deep-scrub);

Make all formats of the documented command ('ceph tell $pg
[deep-]scrub', and the old 'ceph pg scrub $pgid') trigger an
operator-priority scrub;

Introduce a dev/tests-only format for the required functionality
of "trigger a scrub by modifying the timestamps".

Change some implementation details.

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