Signed-off-by: Sage Weil <sage@redhat.com>
<< pretty_binary_string(it->key()) << dendl;
return -EIO;
}
- dout(20) << __func__ << " opened " << cid << " " << c << dendl;
+ dout(20) << __func__ << " opened " << cid << " " << c
+ << " " << c->cnode << dendl;
coll_map[cid] = c;
} else {
derr << __func__ << " unrecognized collection " << it->key() << dendl;
o.push_back(new bluestore_cnode_t(123));
}
+ostream& operator<<(ostream& out, const bluestore_cnode_t& l)
+{
+ return out << "cnode(bits " << l.bits << ")";
+}
+
// bluestore_extent_ref_map_t
void bluestore_extent_ref_map_t::_check() const
};
WRITE_CLASS_DENC(bluestore_cnode_t)
+ostream& operator<<(ostream& out, const bluestore_cnode_t& l);
+
/// pextent: physical extent
struct bluestore_pextent_t {
static const uint64_t INVALID_OFFSET = ~0ull;