OPTION(journal_align_min_size, OPT_INT, 64 << 10) // align data payloads >= this.
OPTION(journal_replay_from, OPT_INT, 0)
OPTION(journal_zero_on_create, OPT_BOOL, false)
-OPTION(rbd_cache_enabled, OPT_BOOL, false) // whether to enable writeback caching
+OPTION(rbd_cache, OPT_BOOL, false) // whether to enable writeback caching
OPTION(rgw_cache_enabled, OPT_BOOL, true) // rgw cache enabled
OPTION(rgw_cache_lru_size, OPT_INT, 10000) // num of entries in rgw cache
OPTION(rgw_socket_path, OPT_STR, "") // path to unix domain socket, if not specified, rgw will not run as external fcgi
{
md_ctx.dup(p);
data_ctx.dup(p);
- if (cct->_conf->rbd_cache_enabled) {
+ if (cct->_conf->rbd_cache) {
Mutex::Locker l(cache_lock);
ldout(cct, 20) << "enabling writback caching..." << dendl;
writeback_handler = new LibrbdWriteback(data_ctx, cache_lock);