return ret;
}
-int BlueStore::_open_collections(int *errors)
+int BlueStore::_open_collections(int64_t *errors)
{
dout(10) << __func__ << dendl;
ceph_assert(coll_map.empty());
void BlueStore::_fsck_check_pool_statfs(
BlueStore::per_pool_statfs& expected_pool_statfs,
bool need_per_pool_stats,
- int& errors,
+ int64_t& errors,
BlueStoreRepairer* repairer)
{
auto it = db->get_iterator(PREFIX_STAT);
<< " <<<START>>>"
<< (repair ? " repair" : " check")
<< (deep ? " (deep)" : " (shallow)") << " start" << dendl;
- int errors = 0;
+ int64_t errors = 0;
unsigned repaired = 0;
typedef btree::btree_set<
void _close_fm();
int _open_alloc();
void _close_alloc();
- int _open_collections(int *errors=0);
+ int _open_collections(int64_t *errors=0);
void _close_collections();
int _setup_block_symlink_or_file(string name, string path, uint64_t size,
void _fsck_check_pool_statfs(
per_pool_statfs& expected_pool_statfs,
bool need_per_pool_stats,
- int& errors,
+ int64_t& errors,
BlueStoreRepairer* repairer);
void _buffer_cache_write(