Refactor some defines

This commit is contained in:
Vitaliy Filippov
2025-11-22 18:07:44 +03:00
parent a1c17d90a3
commit d75b1cb2d2
11 changed files with 44 additions and 34 deletions
+6 -1
View File
@@ -682,7 +682,7 @@ void blockstore_impl_t::process_list(blockstore_op_t *op)
free(unstable);
op->version = stable_count;
op->retval = stable_count+unstable_count;
op->buf = stable;
op->buf = (uint8_t*)stable;
FINISH_OP(op);
}
@@ -705,6 +705,11 @@ void blockstore_impl_t::disk_error_abort(const char *op, int retval, int expecte
exit(1);
}
const std::map<uint64_t, uint64_t> & blockstore_impl_t::get_inode_space_stats()
{
return inode_space_stats;
}
void blockstore_impl_t::set_no_inode_stats(const std::vector<uint64_t> & pool_ids)
{
for (auto & np: no_inode_stats)