diff options
| author | Dan Engelbrecht <[email protected]> | 2022-05-02 10:48:57 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-05-02 10:48:57 +0200 |
| commit | 48f2e3af59e2a06c81e37170db95e432b148e5e8 (patch) | |
| tree | c91aef099acb9b2f7555c60ad84ae9c2650db3dc /zenstore/blockstore.cpp | |
| parent | Move bulk of MigrateLegacyData to blockstore.cpp (diff) | |
| download | zen-48f2e3af59e2a06c81e37170db95e432b148e5e8.tar.xz zen-48f2e3af59e2a06c81e37170db95e432b148e5e8.zip | |
refactor structured cache to use blockstore migrate
Diffstat (limited to 'zenstore/blockstore.cpp')
| -rw-r--r-- | zenstore/blockstore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zenstore/blockstore.cpp b/zenstore/blockstore.cpp index 6f5578be8..3358075ec 100644 --- a/zenstore/blockstore.cpp +++ b/zenstore/blockstore.cpp @@ -170,7 +170,7 @@ BlockStore::Initialize(const std::filesystem::path& BlocksBasePath, { // Log removing unreferenced block // Clear out unused blocks - ZEN_INFO("removing unused block for '{}' at '{}'", m_BlocksBasePath, Path); + ZEN_INFO("removing unused block at '{}'", Path); std::error_code Ec; std::filesystem::remove(Path, Ec); if (Ec) @@ -449,7 +449,7 @@ BlockStore::ReclaimSpace(const ReclaimSnapshotState& Snapshot, }); m_ChunkBlocks[BlockIndex] = nullptr; } - ZEN_DEBUG("marking cas store file in '{}' for delete , block #{}, '{}'", m_BlocksBasePath, BlockIndex, OldBlockFile->GetPath()); + ZEN_DEBUG("marking cas store file '{}' for delete, block #{}", OldBlockFile->GetPath(), BlockIndex); std::error_code Ec; OldBlockFile->MarkAsDeleteOnClose(Ec); if (Ec) @@ -572,7 +572,7 @@ BlockStore::ReclaimSpace(const ReclaimSnapshotState& Snapshot, }); m_ChunkBlocks[BlockIndex] = nullptr; } - ZEN_DEBUG("marking cas store file in '{}' for delete , block #{}, '{}'", m_BlocksBasePath, BlockIndex, OldBlockFile->GetPath()); + ZEN_DEBUG("marking cas store file '{}' for delete, block #{}", OldBlockFile->GetPath(), BlockIndex); std::error_code Ec; OldBlockFile->MarkAsDeleteOnClose(Ec); if (Ec) |