]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: kiill dead member from bluestore_shared_blob_t
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 11 Oct 2016 07:32:48 +0000 (15:32 +0800)
committerxiexingguo <xie.xingguo@zte.com.cn>
Tue, 11 Oct 2016 14:10:53 +0000 (22:10 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/bluestore_types.cc
src/os/bluestore/bluestore_types.h

index 56752121df62f44b53cb283f32886872ec828fed..d09490e9bf5d955d9c7d30d746360d59ecd5a0cb 100644 (file)
@@ -661,11 +661,6 @@ void bluestore_shared_blob_t::decode(bufferlist::iterator& p)
 void bluestore_shared_blob_t::dump(Formatter *f) const
 {
   f->dump_object("ref_map", ref_map);
-  f->open_array_section("objects");
-  /*for (auto &o : objects) {
-    f->dump_object("object", o);
-    }*/
-  f->close_section();
 }
 
 void bluestore_shared_blob_t::generate_test_instances(
index 7be9f069452db0add4d7e18e824fd0fdd4beabe2..e953a39d2865aec102e7f8043bde19f5afe5560f 100644 (file)
@@ -604,7 +604,6 @@ ostream& operator<<(ostream& out, const bluestore_blob_t& o);
 /// shared blob state
 struct bluestore_shared_blob_t {
   bluestore_extent_ref_map_t ref_map;  ///< shared blob extents
-  //set<ghobject_t> objects;  ///< objects referencing these shared blocks (debug)
 
   void encode(bufferlist& bl) const;
   void decode(bufferlist::iterator& p);