]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd/PeeringState: PG state 64 bits wide
authorSage Weil <sage@redhat.com>
Tue, 9 Jul 2019 15:30:17 +0000 (10:30 -0500)
committerSage Weil <sage@redhat.com>
Thu, 26 Sep 2019 15:55:09 +0000 (10:55 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PeeringState.h

index c616a7ca6e90458092d28de78c8e050c77c92137..6dd2d56645f93efddd52c5cfd9a06679e7af6b27 100644 (file)
@@ -2022,7 +2022,7 @@ public:
   bool is_complete() const { return info.last_complete == info.last_update; }
   bool should_send_notify() const { return send_notify; }
 
-  int get_state() const { return state; }
+  uint64_t get_state() const { return state; }
   bool is_active() const { return state_test(PG_STATE_ACTIVE); }
   bool is_activating() const { return state_test(PG_STATE_ACTIVATING); }
   bool is_peering() const { return state_test(PG_STATE_PEERING); }