From 0a94c437e262dc2d656ad81b7510e393dfcc13fd Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 9 Aug 2025 16:05:08 +0300 Subject: [PATCH] Unordered_map for pool settings --- src/blockstore/blockstore_heap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blockstore/blockstore_heap.h b/src/blockstore/blockstore_heap.h index 8b82b50c..eaaa7b8d 100644 --- a/src/blockstore/blockstore_heap.h +++ b/src/blockstore/blockstore_heap.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include #include #include @@ -136,7 +137,7 @@ class blockstore_heap_t uint32_t target_block_free_space = 800; uint64_t next_lsn = 0; - std::map pool_shard_settings; + std::unordered_map pool_shard_settings; // PG => inode => stripe => block number std::map>> block_index; std::vector block_info;