Fix "tried to overwrite non-zero metadata entry" when during a previous metadata

flush writing new entry is completed, but zeroing out an old one isn't
This commit is contained in:
Vitaliy Filippov
2022-08-21 00:31:18 +03:00
parent 29b40aba93
commit d83580bd68
3 changed files with 28 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class blockstore_init_meta
uint64_t entries_loaded = 0;
struct io_uring_sqe *sqe;
struct ring_data_t *data;
void handle_entries(void *entries, unsigned count, int block_order);
bool handle_entries(void *entries, unsigned count, int block_order);
void handle_event(ring_data_t *data);
public:
blockstore_init_meta(blockstore_impl_t *bs);