]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PG.h erase deadcode
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 3 Nov 2010 00:36:11 +0000 (17:36 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 10 Nov 2010 18:30:17 +0000 (10:30 -0800)
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/osd/PG.h

index f4e8120bd1184c2ffc4eae92cd0fe42d5d42cd7f..ecb68dcc76e2fe4a12dfa0b1e838b9bd6eb0153b 100644 (file)
@@ -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