]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: drop useless PG hooks
authorSage Weil <sage.weil@dreamhost.com>
Tue, 25 Oct 2011 04:48:50 +0000 (21:48 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 25 Oct 2011 04:54:10 +0000 (21:54 -0700)
These no longer need to be exposed to the generic OSD code.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/PG.h
src/osd/ReplicatedPG.h

index 937a37bd30297f693a9c5ca011274db66b0d1eb8..95791697a66796fbf1c501fea01a1105464fd04d 100644 (file)
@@ -1690,13 +1690,6 @@ public:
   virtual bool same_for_modify_since(epoch_t e) = 0;
   virtual bool same_for_rep_modify_since(epoch_t e) = 0;
 
-  virtual bool is_write_in_progress() = 0;
-  virtual bool is_missing_object(const hobject_t& oid) = 0;
-  virtual void wait_for_missing_object(const hobject_t& oid, Message *op) = 0;
-
-  virtual bool is_degraded_object(const hobject_t& oid) = 0;
-  virtual void wait_for_degraded_object(const hobject_t& oid, Message *op) = 0;
-
   virtual void on_osd_failure(int osd) = 0;
   virtual void on_role_change() = 0;
   virtual void on_change() = 0;
index 5864255f66ea218280ad9f0a951b0a0be4c2559f..7173a400fe51a85ef4106597c23a5b4ff639d284 100644 (file)
@@ -535,9 +535,6 @@ protected:
   }
   void put_snapset_context(SnapSetContext *ssc);
 
-  bool is_write_in_progress() {
-    return !object_contexts.empty();
-  }