From 3c9a28568f8edbb89fb24794e523ef6182c22b8a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 9 Jul 2019 10:30:17 -0500 Subject: [PATCH] osd/PeeringState: PG state 64 bits wide Signed-off-by: Sage Weil --- src/osd/PeeringState.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/PeeringState.h b/src/osd/PeeringState.h index c616a7ca6e9..6dd2d56645f 100644 --- a/src/osd/PeeringState.h +++ b/src/osd/PeeringState.h @@ -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); } -- 2.39.5