From: Sage Weil Date: Sat, 16 Sep 2017 03:15:19 +0000 (-0400) Subject: osd/PG: make init() public X-Git-Tag: v13.0.1~634^2~40 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b70a35e7b3d86ba6cae8c19a89108ff6d2bbb43;p=ceph.git osd/PG: make init() public Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.h b/src/osd/PG.h index 5bb432615ff..0d9ce47fc79 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();