]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PeeringState: make PeeringCtx inherit from BufferedRecoveryMessages
authorSamuel Just <rexludorum@gmail.com>
Wed, 22 May 2019 09:57:03 +0000 (02:57 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 11 Jun 2019 00:37:28 +0000 (17:37 -0700)
commita674605119cd380ac3cb6a18b76104ee9a916a00
tree9b3a64b837a32c721f9bd9d28505a7c5ddf0e62c
parent2622958e0d42f62ea7e0ecce591800140669adee
osd/PeeringState: make PeeringCtx inherit from BufferedRecoveryMessages

This'll be convenient in crimson for compound messages, don't want
to share an actual PeeringCtx, but want to combine the messages
to send.  Using inheritance here simply prevents another round of
changing all of the PeeringCtx member users.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PeeringState.cc
src/osd/PeeringState.h