]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: scrubber: improved handling of new-interval events
authorRonen Friedman <rfriedma@redhat.com>
Mon, 28 Dec 2020 16:49:34 +0000 (18:49 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 13 Jan 2021 13:27:06 +0000 (15:27 +0200)
commita9c5839a0ce14f0dbe17a5f0adcbae265e01d3ca
tree890ec9644e5f13a2c92e782b0d0e100bd46bf30a
parent6c805c640527f9600fe04369ac4a5d8ec8583707
osd: scrubber: improved handling of new-interval events

Interval change events now trigger immediate scrub session termination and resources
release.

(based on code-review comments by @athanatos.)

Fixes: https://tracker.ceph.com/issues/48712
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/PG.cc
src/osd/PrimaryLogPG.cc
src/osd/pg_scrubber.cc
src/osd/pg_scrubber.h
src/osd/scrub_machine.cc
src/osd/scrub_machine.h
src/osd/scrubber_common.h