From 370d0134a7f755b1e39fbba5c9482ecc9ff3a0fe Mon Sep 17 00:00:00 2001 From: Per Larsson Date: Fri, 10 Dec 2021 15:29:18 +0100 Subject: Added size to GcStorage. --- zenstore/CAS.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zenstore/CAS.cpp') diff --git a/zenstore/CAS.cpp b/zenstore/CAS.cpp index 40846e368..18abd2cf5 100644 --- a/zenstore/CAS.cpp +++ b/zenstore/CAS.cpp @@ -324,9 +324,9 @@ CasImpl::GarbageCollect(GcContext& GcCtx) CasStoreSize CasImpl::TotalSize() const { - const uint64_t Tiny = m_TinyStrategy.TotalSize(); - const uint64_t Small = m_SmallStrategy.TotalSize(); - const uint64_t Large = m_LargeStrategy.TotalSize(); + const uint64_t Tiny = m_TinyStrategy.StorageSize().DiskSize; + const uint64_t Small = m_SmallStrategy.StorageSize().DiskSize; + const uint64_t Large = m_LargeStrategy.StorageSize().DiskSize; return {.TinySize = Tiny, .SmallSize = Small, .LargeSize = Large, .TotalSize = Tiny + Small + Large}; } -- cgit v1.2.3