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
+2
View File
@@ -15,6 +15,7 @@ class blockstore_init_meta
{
blockstore_impl_t *bs;
int wait_state = 0;
int wait_count = 0;
bool zero_on_init = false;
void *metadata_buffer = NULL;
blockstore_init_meta_buf bufs[2] = {};
@@ -25,6 +26,7 @@ class blockstore_init_meta
uint64_t next_offset = 0;
uint64_t last_read_offset = 0;
uint64_t entries_loaded = 0;
std::vector<uint32_t> recheck_mod;
int i = 0, j = 0;
bool handle_meta_block(uint8_t *buf, uint64_t count, uint64_t done_cnt);
void handle_event(ring_data_t *data, int buf_num);