aboutsummaryrefslogtreecommitdiff
path: root/zenstore/cidstore.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-11-30 15:04:05 +0100
committerPer Larsson <[email protected]>2021-11-30 15:04:05 +0100
commit571b483cad2d8c97a04d1f3ccdb594eb7e4cf791 (patch)
tree5e8004ed313ba8b5bd173045c79674edbf7ec6cd /zenstore/cidstore.cpp
parentAdded CAS total size. (diff)
downloadzen-571b483cad2d8c97a04d1f3ccdb594eb7e4cf791.tar.xz
zen-571b483cad2d8c97a04d1f3ccdb594eb7e4cf791.zip
Added CacheStore and CAS store sizes to status endpoint.
Diffstat (limited to 'zenstore/cidstore.cpp')
-rw-r--r--zenstore/cidstore.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/zenstore/cidstore.cpp b/zenstore/cidstore.cpp
index c91f69ff7..4ddf34c79 100644
--- a/zenstore/cidstore.cpp
+++ b/zenstore/cidstore.cpp
@@ -289,4 +289,10 @@ CidStore::Scrub(ScrubContext& Ctx)
m_Impl->Scrub(Ctx);
}
+CasStoreSize
+CidStore::CasSize() const
+{
+ return m_Impl->m_CasStore.TotalSize();
+}
+
} // namespace zen