Another heap allocation bites the dust.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
options = cct->_conf->bluestore_rocksdb_options;
map<string,string> cf_map;
- get_str_map(cct->_conf->get_val<string>("bluestore_rocksdb_cfs"), &cf_map,
- " \t");
+ cct->_conf->with_val<string>("bluestore_rocksdb_cfs",
+ get_str_map,
+ &cf_map,
+ " \t");
for (auto& i : cf_map) {
dout(10) << "column family " << i.first << ": " << i.second << dendl;
cfs.push_back(KeyValueDB::ColumnFamily(i.first, i.second));