diff options
| author | Dan Engelbrecht <[email protected]> | 2022-05-03 11:48:35 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-05-03 11:48:35 +0200 |
| commit | 1b3b8b0e6f70129222085eec40b5a58cf9b29b01 (patch) | |
| tree | 9cb7c2b801f11a90174c4ea11eb9ae0c219bb459 /zenstore/include | |
| parent | cleanup (diff) | |
| download | zen-1b3b8b0e6f70129222085eec40b5a58cf9b29b01.tar.xz zen-1b3b8b0e6f70129222085eec40b5a58cf9b29b01.zip | |
more tests for block store
Diffstat (limited to 'zenstore/include')
| -rw-r--r-- | zenstore/include/zenstore/blockstore.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zenstore/include/zenstore/blockstore.h b/zenstore/include/zenstore/blockstore.h index b40704ada..e330cc080 100644 --- a/zenstore/include/zenstore/blockstore.h +++ b/zenstore/include/zenstore/blockstore.h @@ -120,8 +120,9 @@ public: typedef std::function<void(const MovedChunksArray& MovedChunks, const ChunkIndexArray& RemovedChunks)> ReclaimCallback; typedef std::function<uint64_t()> ClaimDiskReserveCallback; typedef std::function<void(size_t ChunkIndex, const void* Data, uint64_t Size)> IterateChunksSmallSizeCallback; - typedef std::function<void(size_t ChunkIndex, BasicFile& BlockFile, uint64_t Offset, uint64_t Size)> IterateChunksLargeSizeCallback; - typedef std::function<void(const MovedChunksArray& MovedChunks)> SplitCallback; + typedef std::function<void(size_t ChunkIndex, Ref<BlockStoreFile> BlockFile, uint64_t Offset, uint64_t Size)> + IterateChunksLargeSizeCallback; + typedef std::function<void(const MovedChunksArray& MovedChunks)> SplitCallback; void Initialize(const std::filesystem::path& BlocksBasePath, uint64_t MaxBlockSize, |