mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
os/bluestore: Call get_str_map under with_val
Another heap allocation bites the dust. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
This commit is contained in:
parent
f26851b6d4
commit
f6173b6a9c
@ -4785,7 +4785,9 @@ int BlueStore::_open_db(bool create, bool to_repair_db)
|
||||
options = cct->_conf->bluestore_rocksdb_options;
|
||||
|
||||
map<string,string> cf_map;
|
||||
get_str_map(cct->_conf->get_val<string>("bluestore_rocksdb_cfs"), &cf_map,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user