diff options
| author | Dan Engelbrecht <[email protected]> | 2024-10-01 23:19:42 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2024-10-01 23:19:42 +0200 |
| commit | e68929ebb80acc1ed2a1bd4544b26c2e7cc55641 (patch) | |
| tree | bee6c3fb32cd375a5c86aaecbe981939b4a242db /src/zenstore/compactcas.cpp | |
| parent | 5.5.8-pre6 (diff) | |
| download | zen-de/no-mmap-for-attachment-meta-files.tar.xz zen-de/no-mmap-for-attachment-meta-files.zip | |
don't use mmap when reading attachment meta filesde/no-mmap-for-attachment-meta-files
Diffstat (limited to 'src/zenstore/compactcas.cpp')
| -rw-r--r-- | src/zenstore/compactcas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenstore/compactcas.cpp b/src/zenstore/compactcas.cpp index 5fca3046c..3485b87cf 100644 --- a/src/zenstore/compactcas.cpp +++ b/src/zenstore/compactcas.cpp @@ -714,6 +714,7 @@ public: if (Ctx.Settings.CollectSmallObjects) { BlockStore::BlockUsageMap BlockUsage; + BlockUsage.reserve(m_CasContainerStrategy.m_BlockStore.GetBlockCount()); { RwLock::SharedLockScope __(m_CasContainerStrategy.m_LocationMapLock); if (Ctx.IsCancelledFlag.load()) |