]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: separate counters for primary vs. replica scrubs
authorRonen Friedman <rfriedma@redhat.com>
Mon, 20 Nov 2023 13:31:31 +0000 (07:31 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 30 Nov 2023 11:40:27 +0000 (05:40 -0600)
commit3ce41e3bc1a96cd804b118e1538db90c9927fcce
treee9a85c0bc3594630b87e5108d97314828a5d542d
parentf610b1e5bed290652c53ae37b36d7c0fb985e3ae
osd/scrub: separate counters for primary vs. replica scrubs

The OSD limits the number of concurrent scrubs performed on its PGs.
This limit is now enforced separately for primary and replica scrubs.

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