]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: use OpCarryingEvent for scrub events carrying common data
authorRonen Friedman <rfriedma@redhat.com>
Wed, 29 Nov 2023 13:16:24 +0000 (07:16 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Wed, 29 Nov 2023 13:30:40 +0000 (07:30 -0600)
commit601c4b5a310a687f8e979a41c28dd33affa05479
treec2101474cd4f1864585b7a24f27da8ec9faa6c5f
parent61a1a2a526c3fcd937e11a7e32f1e53e4fdf12bc
osd/scrub: use OpCarryingEvent for scrub events carrying common data

Copied from a similar implementation in Crimson.
The payload includes the MOSDScrub* op, and the 'from' id.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Split from "osd/scrub: move responsibility for clearing the 'being reserved' state"
src/osd/scrubber/scrub_machine.h