B-tree is slower...
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "../client/object_id.h"
|
||||
#include "../../cpp-btree/btree_map.h"
|
||||
//#include "../../cpp-btree/btree_map.h"
|
||||
#include "blockstore_disk.h"
|
||||
#include "multilist.h"
|
||||
|
||||
@@ -139,7 +139,7 @@ class blockstore_heap_t
|
||||
uint64_t next_lsn = 0;
|
||||
std::unordered_map<pool_id_t, pool_shard_settings_t> pool_shard_settings;
|
||||
// PG => inode => stripe => block number
|
||||
std::map<uint64_t, std::map<inode_t, btree::btree_map<uint64_t, uint64_t>>> block_index;
|
||||
std::map<uint64_t, std::map<inode_t, std::map<uint64_t, uint64_t>>> block_index;
|
||||
std::vector<heap_block_info_t> block_info;
|
||||
allocator_t *data_alloc = NULL;
|
||||
multilist_index_t *meta_alloc = NULL;
|
||||
|
||||
Reference in New Issue
Block a user