diff options
| author | Dan Engelbrecht <[email protected]> | 2022-03-27 20:13:54 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-03-31 11:29:28 +0200 |
| commit | 1ed438c250114e1f5ffb7355429862383ffa505d (patch) | |
| tree | 9e2ce7cfdd6091a3651d5330455965587c3510f9 /zenstore/include | |
| parent | fix cas log parsing (diff) | |
| download | zen-1ed438c250114e1f5ffb7355429862383ffa505d.tar.xz zen-1ed438c250114e1f5ffb7355429862383ffa505d.zip | |
keep all block files open from start
Diffstat (limited to 'zenstore/include')
| -rw-r--r-- | zenstore/include/zenstore/blockstore.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/zenstore/include/zenstore/blockstore.h b/zenstore/include/zenstore/blockstore.h index 5222ee50e..64fd1b299 100644 --- a/zenstore/include/zenstore/blockstore.h +++ b/zenstore/include/zenstore/blockstore.h @@ -93,11 +93,10 @@ struct BlockStoreFile void StreamByteRange(uint64_t FileOffset, uint64_t Size, std::function<void(const void* Data, uint64_t Size)>&& ChunkFun); private: - void InternalOpen(); const std::filesystem::path m_Path; - RwLock m_OpenLock; - BasicFile m_File; IoBuffer m_IoBuffer; + RwLock m_FileLock; + BasicFile m_File; }; void blockstore_forcelink(); |