From 3b70a35e7b3d86ba6cae8c19a89108ff6d2bbb43 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 15 Sep 2017 23:15:19 -0400 Subject: [PATCH] osd/PG: make init() public Signed-off-by: Sage Weil --- src/osd/PG.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/osd/PG.h b/src/osd/PG.h index 5bb432615ff3..0d9ce47fc798 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -352,6 +352,17 @@ public: return acting; } + void init( + int role, + const vector& up, + int up_primary, + const vector& acting, + int acting_primary, + const pg_history_t& history, + const PastIntervals& pim, + bool backfill, + ObjectStore::Transaction *t); + void rm_backoff(BackoffRef b); void scrub(epoch_t queued, ThreadPool::TPHandle &handle); @@ -2506,17 +2517,6 @@ protected: bool is_empty() const { return info.last_update == eversion_t(0,0); } - void init( - int role, - const vector& up, - int up_primary, - const vector& acting, - int acting_primary, - const pg_history_t& history, - const PastIntervals& pim, - bool backfill, - ObjectStore::Transaction *t); - // pg on-disk state void do_pending_flush(); -- 2.47.3