]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/: move most peering state to PeeringState
authorsjust@redhat.com <sjust@redhat.com>
Fri, 22 Mar 2019 23:19:18 +0000 (16:19 -0700)
committersjust@redhat.com <sjust@redhat.com>
Wed, 1 May 2019 18:22:12 +0000 (11:22 -0700)
commite3fa38b9845a0de5c03c16b7b9f471054da069c7
tree7c9a11b314c9dcb8322f1d02978bd88a70278143
parent365fe8638bd3bb0ba57407265a1ad0d924eea7a1
osd/: move most peering state to PeeringState

This patch moves the 40 something peering state variables over into
PeeringState while leaving references to them in PG.  The following
patches will move over the users until all users are in PeeringState.
Then, the PG references will be removed.  A subsequent patch will also
move the recovery_state member to be the last initialize and first
destructed.

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