OPTION(bluestore_backend, OPT_STR, "rocksdb")
OPTION(bluestore_rocksdb_options, OPT_STR, "compression=kNoCompression,max_write_buffer_number=16,min_write_buffer_number_to_merge=3,recycle_log_file_num=16")
OPTION(bluestore_fsck_on_mount, OPT_BOOL, false)
+OPTION(bluestore_fsck_on_umount, OPT_BOOL, false)
OPTION(bluestore_fail_eio, OPT_BOOL, true)
OPTION(bluestore_sync_io, OPT_BOOL, false) // perform initial io synchronously
OPTION(bluestore_sync_transaction, OPT_BOOL, false) // perform kv txn synchronously
g_ceph_context->_conf->set_val("filestore_op_thread_suicide_timeout", "10000");
g_ceph_context->_conf->set_val("filestore_debug_disable_sharded_check", "true");
g_ceph_context->_conf->set_val("filestore_fiemap", "true");
+ g_ceph_context->_conf->set_val("bluestore_fsck_on_mount", "true");
+ g_ceph_context->_conf->set_val("bluestore_fsck_on_umount", "true");
g_ceph_context->_conf->set_val(
"enable_experimental_unrecoverable_data_corrupting_features", "*");
g_ceph_context->_conf->apply_changes(NULL);