Add some details for debug prints

This commit is contained in:
Vitaliy Filippov
2021-03-25 11:00:10 +03:00
parent cf54741c95
commit 564d64e271
3 changed files with 12 additions and 2 deletions
+3
View File
@@ -783,6 +783,9 @@ void journal_flusher_co::update_clean_db()
{
auto clean_it = bs->clean_db.find(cur.oid);
bs->clean_db.erase(clean_it);
#ifdef BLOCKSTORE_DEBUG
printf("Free block %lu (delete)\n", clean_loc >> bs->block_order);
#endif
bs->data_alloc->set(clean_loc >> bs->block_order, false);
clean_loc = UINT64_MAX;
}