From 3ebbfa0428476696bee7da9517349b9bdf66f3fb Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Mon, 11 Mar 2024 01:14:25 +0300 Subject: [PATCH] Fix another rare OSD hang on zeroing out entries on start --- src/blockstore_init.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/blockstore_init.cpp b/src/blockstore_init.cpp index 8939e0cc..72724a98 100644 --- a/src/blockstore_init.cpp +++ b/src/blockstore_init.cpp @@ -238,6 +238,7 @@ resume_2: data->iov = { bufs[i].buf, (size_t)bufs[i].size }; data->callback = [this, i](ring_data_t *data) { handle_event(data, i); }; my_uring_prep_writev(sqe, bs->dsk.meta_fd, &data->iov, 1, bs->dsk.meta_offset + bufs[i].offset); + bs->ringloop->submit(); bufs[i].state = INIT_META_WRITING; submitted++; }