// Collection
#undef dout_prefix
-#define dout_prefix *_dout << "bluestore(" << store->path << ").collection(" << cid << ") "
+#define dout_prefix *_dout << "bluestore(" << store->path << ").collection(" << cid << " " << this << ") "
BlueStore::Collection::Collection(BlueStore *ns, Cache *c, coll_t cid)
: store(ns),
<< pretty_binary_string(it->key()) << dendl;
return -EIO;
}
- dout(20) << __func__ << " opened " << cid << dendl;
+ dout(20) << __func__ << " opened " << cid << " " << c << dendl;
coll_map[cid] = c;
} else {
derr << __func__ << " unrecognized collection " << it->key() << dendl;
void BlueStore::_queue_reap_collection(CollectionRef& c)
{
- dout(10) << __func__ << " " << c->cid << dendl;
+ dout(10) << __func__ << " " << c << " " << c->cid << dendl;
std::lock_guard<std::mutex> l(reap_lock);
removed_collections.push_back(c);
}
p != removed_colls.end();
++p) {
CollectionRef c = *p;
- dout(10) << __func__ << " " << c->cid << dendl;
+ dout(10) << __func__ << " " << c << " " << c->cid << dendl;
if (c->onode_map.map_any([&](OnodeRef o) {
assert(!o->exists);
if (!o->flush_txns.empty()) {
- dout(10) << __func__ << " " << c->cid << " " << o->oid
+ dout(10) << __func__ << " " << c << " " << c->cid << " " << o->oid
<< " flush_txns " << o->flush_txns << dendl;
return false;
}
continue;
}
c->onode_map.clear();
- dout(10) << __func__ << " " << c->cid << " done" << dendl;
+ dout(10) << __func__ << " " << c << " " << c->cid << " done" << dendl;
}
if (all_reaped) {