OnodeRef o = po->second;
// install a non-existent onode at old location
- oldo.reset(new Onode(this, old_oid, o->key, o->bc.cache));
+ oldo.reset(new Onode(this, old_oid, o->key));
po->second = oldo;
cache->onode_lru.push_back(*po->second);
return OnodeRef();
// new
- on = new Onode(&onode_map, oid, key, cache);
+ on = new Onode(&onode_map, oid, key);
} else {
// loaded
assert(r >=0);
- on = new Onode(&onode_map, oid, key, cache);
+ on = new Onode(&onode_map, oid, key);
on->exists = true;
bufferlist::iterator p = v.begin();
::decode(on->onode, p);
std::condition_variable flush_cond; ///< wait here for unapplied txns
set<TransContext*> flush_txns; ///< committing or wal txns
- BufferSpace bc;
-
- Onode(OnodeSpace *s, const ghobject_t& o, const string& k, Cache *c)
+ Onode(OnodeSpace *s, const ghobject_t& o, const string& k)
: nref(0),
oid(o),
key(k),
space(s),
- exists(false),
- bc(c) {
+ exists(false) {
}
Blob *get_blob(int64_t id) {