Write recheck_modified_blocks to disk

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent daf2cc3fb1
commit 378fff6f67
5 changed files with 58 additions and 1 deletions
+4
View File
@@ -579,6 +579,10 @@ void test_recheck(bool async, bool csum, bool intent)
heap.finish_load();
auto mod = heap.get_recheck_modified_blocks();
assert(mod.size() == 1);
assert(mod[0] == 0);
// read object 1 - big_write should be there but small_write should be rechecked and removed
object_id oid = { .inode = INODE_WITH_POOL(1, 1), .stripe = 0 };
heap_entry_t *obj = heap.read_entry(oid);