Report inode space usage statistics to etcd, aggregate it in the monitor

This commit is contained in:
Vitaliy Filippov
2021-04-10 17:44:12 +03:00
parent c35963967f
commit 4ae1b84c67
5 changed files with 51 additions and 8 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ std::unordered_map<object_id, uint64_t> & blockstore_t::get_unstable_writes()
return impl->unstable_writes;
}
std::map<uint64_t, int64_t> & blockstore_t::get_inode_space_stats()
std::map<uint64_t, uint64_t> & blockstore_t::get_inode_space_stats()
{
return impl->inode_space_stats;
}