]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: reverse OSDRestrictions flags polarity
authorRonen Friedman <rfriedma@redhat.com>
Thu, 15 Aug 2024 13:17:48 +0000 (08:17 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 25 Aug 2024 13:01:00 +0000 (08:01 -0500)
commit8aa48dc64ad87da631659f35120bd5c9df57edf4
tree97f8471812d13b286caf6253eff0ef9f8ff75ba6
parent51a593e7e2d77eb2ccb7b08663d9855d4a603c5a
osd/scrub: reverse OSDRestrictions flags polarity

As most of the flags in OSDRestrictions are of 'true is bad' polarity,
reverse the two non-conforming flags - cpu load and time-of-day
restrictions - to match.

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