]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: expose h.p. scrub jobs in the queue
authorRonen Friedman <rfriedma@redhat.com>
Thu, 7 Dec 2023 09:37:57 +0000 (03:37 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 11 Dec 2023 07:26:02 +0000 (01:26 -0600)
commitea15ee08c3c7a4ed591ee74e8943017d079bc060
treeabcb781891ab7e0d764aae2faba52a62c8536f9d
parent77e2e0207902812f9629a83b80c2071ff264ed78
osd/scrub: expose h.p. scrub jobs in the queue

- a high-priority bit is added to the scrub job
- a scrub scheduling attempt will be performed even if only
  high-priority
  jobs should be allowed to run

Note: some of the changes in this PR are temporary, in the sense that
they would be made obsolete when the scrub scheduler is refactored.

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