From: Colin Patrick McCabe Date: Wed, 3 Nov 2010 00:36:11 +0000 (-0700) Subject: PG.h erase deadcode X-Git-Tag: v0.24~193^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ef1f8ecd018b36a69eefeb01a7499c16cab04a5b;p=ceph.git PG.h erase deadcode Signed-off-by: Colin McCabe --- diff --git a/src/osd/PG.h b/src/osd/PG.h index f4e8120bd118..ecb68dcc76e2 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -919,7 +919,6 @@ public: bool is_crashed() const { return state_test(PG_STATE_CRASHED); } bool is_down() const { return state_test(PG_STATE_DOWN); } bool is_replay() const { return state_test(PG_STATE_REPLAY); } - //bool is_complete() { return state_test(PG_STATE_COMPLETE); } bool is_clean() const { return state_test(PG_STATE_CLEAN); } bool is_degraded() const { return state_test(PG_STATE_DEGRADED); } bool is_stray() const { return state_test(PG_STATE_STRAY); } @@ -928,8 +927,6 @@ public: bool is_empty() const { return info.last_update == eversion_t(0,0); } - //bool is_complete_pg() { return acting.size() == info.pgid.size(); } - void add_log_entry(Log::Entry& e, bufferlist& log_bl); // pg on-disk state