]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/osd_types: kill overlaps_with() of pg_info_t
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 17 Aug 2018 08:46:46 +0000 (16:46 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 31 Aug 2018 05:51:04 +0000 (13:51 +0800)
Which has no consumers.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/osd_types.h

index 1945272bef3b0be8466442a6a42e034bdb92578a..02133ab1fb5160e356e02aae541f2710e2f1d3bf 100644 (file)
@@ -2417,11 +2417,6 @@ struct pg_info_t {
   void encode(bufferlist& bl) const;
   void decode(bufferlist::const_iterator& p);
   void dump(Formatter *f) const;
-  bool overlaps_with(const pg_info_t &oinfo) const {
-    return last_update > oinfo.log_tail ?
-      oinfo.last_update >= log_tail :
-      last_update >= oinfo.log_tail;
-  }
   static void generate_test_instances(list<pg_info_t*>& o);
 };
 WRITE_CLASS_ENCODER(pg_info_t)