Skip to content

Commit

Permalink
os/bluestore: kiill dead member from bluestore_shared_blob_t
Browse files Browse the repository at this point in the history
Signed-off-by: xie xingguo <[email protected]>
  • Loading branch information
xiexingguo committed Oct 11, 2016
1 parent 42126ca commit 13d0f4f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/os/bluestore/bluestore_types.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 0 additions & 1 deletion src/os/bluestore/bluestore_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 13d0f4f

Please sign in to comment.