aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-02 16:53:21 +0200
committerDan Engelbrecht <[email protected]>2022-05-02 16:53:21 +0200
commitae8505ad0af6375289c83b6455796e0c91609dc9 (patch)
tree2cc89875827523298c12b8aa7eb1b5329081d43c /zenstore/include
parentsimplify lambda captures (diff)
downloadzen-ae8505ad0af6375289c83b6455796e0c91609dc9.tar.xz
zen-ae8505ad0af6375289c83b6455796e0c91609dc9.zip
Make sure we close all block files when dropping a cache bucket
Diffstat (limited to 'zenstore/include')
-rw-r--r--zenstore/include/zenstore/blockstore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zenstore/include/zenstore/blockstore.h b/zenstore/include/zenstore/blockstore.h
index 5019e257d..e153b530e 100644
--- a/zenstore/include/zenstore/blockstore.h
+++ b/zenstore/include/zenstore/blockstore.h
@@ -131,6 +131,7 @@ public:
uint64_t MaxBlockSize,
uint64_t MaxBlockCount,
const std::vector<BlockStoreLocation>& KnownLocations);
+ void Close();
BlockStoreLocation WriteChunk(const void* Data, uint64_t Size, uint64_t Alignment);