]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PGStatService: prune interface
authorSage Weil <sage@redhat.com>
Mon, 28 Aug 2017 20:23:09 +0000 (16:23 -0400)
committerSage Weil <sage@redhat.com>
Wed, 6 Sep 2017 14:18:03 +0000 (10:18 -0400)
Remove now unused methods

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/PGStatService.h

index 150f7d88edbbae0e87350a911ad0eb441682e8e1..b87284f1c1bc41dc0aa55bcb42b09e33553420d0 100644 (file)
@@ -32,47 +32,8 @@ class PGStatService {
 public:
   PGStatService() {}
   virtual ~PGStatService() {}
-  // FIXME: Kill this once we rip out PGMonitor post-luminous
-  /** returns true if the underlying data is readable. Always true
-   *  post-luminous, but not when we are redirecting to the yPGMonitor
-   */
-  virtual bool is_readable() const { return true; }
-  virtual const pool_stat_t* get_pool_stat(int64_t poolid) const = 0;
-  virtual const osd_stat_t& get_osd_sum() const {
-    ceph_abort();
-  }
-  virtual const osd_stat_t *get_osd_stat(int osd) const {
-    ceph_abort();
-  }
-  virtual const mempool::pgmap::unordered_map<int32_t,osd_stat_t>& get_osd_stat() const {
-    ceph_abort();
-  }
-  virtual float get_full_ratio() const {
-    ceph_abort();
-  }
-  virtual float get_nearfull_ratio() const {
-    ceph_abort();
-  }
-  virtual bool have_creating_pgs() const {
-    ceph_abort();
-  }
-  virtual bool is_creating_pg(pg_t pgid) const {
-    ceph_abort();
-  }
-  virtual epoch_t get_min_last_epoch_clean() const {
-    ceph_abort();
-  }
-
-  virtual bool have_full_osds() const {
-    ceph_abort();
-  }
-  virtual bool have_nearfull_osds() const {
-    ceph_abort();
-  }
 
-  virtual size_t get_num_pg_by_osd(int osd) const {
-    ceph_abort();
-  }
+  virtual const pool_stat_t* get_pool_stat(int64_t poolid) const = 0;
   virtual ceph_statfs get_statfs(OSDMap &osd_map,
                                 boost::optional<int64_t> data_pool) const = 0;
   virtual void print_summary(Formatter *f, ostream *out) const = 0;