if (bluefs_layout.shared_bdev == BlueFS::BDEV_SLOW) {
string options = cct->_conf->bluestore_rocksdb_options;
+ string options_annex = cct->_conf->bluestore_rocksdb_options_annex;
+ if (!options_annex.empty()) {
+ if (!options.empty() &&
+ *options.rbegin() != ',') {
+ options += ',';
+ }
+ options += options_annex;
+ }
rocksdb::Options rocks_opts;
int r = RocksDBStore::ParseOptionsFromStringStatic(
ceph_assert(!(create && read_only));
string fn = path + "/db";
string options;
+ string options_annex;
stringstream err;
std::shared_ptr<Int64ArrayMergeOperator> merge_op(new Int64ArrayMergeOperator);
if (kv_backend == "rocksdb") {
options = cct->_conf->bluestore_rocksdb_options;
+ options_annex = cct->_conf->bluestore_rocksdb_options_annex;
+ if (!options_annex.empty()) {
+ if (!options.empty() &&
+ *options.rbegin() != ',') {
+ options += ',';
+ }
+ options += options_annex;
+ }
map<string,string> cf_map;
cct->_conf.with_val<string>("bluestore_rocksdb_cfs",