Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
bool db_was_opened_read_only = true;
bool need_to_destage_allocation_file = false;
- ceph::shared_mutex coll_lock = ceph::make_shared_mutex("BlueStore::coll_lock"); ///< rwlock to protect coll_map
+ ///< rwlock to protect coll_map/new_coll_map
+ ceph::shared_mutex coll_lock = ceph::make_shared_mutex("BlueStore::coll_lock");
mempool::bluestore_cache_other::unordered_map<coll_t, CollectionRef> coll_map;
bool collections_had_errors = false;
std::map<coll_t,CollectionRef> new_coll_map;