OPTION(newstore_overlay_max, OPT_INT, 32)
OPTION(newstore_open_by_handle, OPT_BOOL, true)
OPTION(newstore_o_direct, OPT_BOOL, true)
-OPTION(newstore_db_path, OPT_STR, "")
OPTION(newstore_aio, OPT_BOOL, true)
OPTION(newstore_aio_poll_ms, OPT_INT, 250) // milliseconds
OPTION(newstore_aio_max_queue_depth, OPT_INT, 4096)
cct(cct),
db(NULL),
fs(NULL),
- db_path(cct->_conf->newstore_db_path),
path_fd(-1),
fsid_fd(-1),
frag_fd(-1),
if (r < 0)
goto out_close_fsid;
- if (db_path != "") {
- r = symlinkat(db_path.c_str(), path_fd, "db");
- if (r < 0)
- goto out_close_frag;
- }
r = _open_db();
if (r < 0)
goto out_close_frag;