OPTION(bluestore_overlay_max, OPT_INT, 0)
OPTION(bluestore_open_by_handle, OPT_BOOL, true)
OPTION(bluestore_o_direct, OPT_BOOL, true)
+OPTION(bluestore_debug_misc, OPT_BOOL, false)
OPTION(kstore_max_ops, OPT_U64, 512)
OPTION(kstore_max_bytes, OPT_U64, 64*1024*1024)
Onode *on;
if (v.length() == 0) {
assert(r == -ENOENT);
- if (!create)
+ if (!g_conf->bluestore_debug_misc &&
+ !create)
return OnodeRef();
// new
on = new Onode(oid, key);
on->dirty = true;
+ if (g_conf->bluestore_debug_misc && !create)
+ on->exists = on->dirty = false;
} else {
// loaded
assert(r >=0);