From f201ecdd5184e6feaa68b6c8ab26978fadbd05ad Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 24 May 2025 00:56:31 +0300 Subject: [PATCH] Fix missing mutex unlock with zero-copy and iothreads O_o --- src/util/ringloop.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/ringloop.cpp b/src/util/ringloop.cpp index 6ca044b4..99d6a15f 100644 --- a/src/util/ringloop.cpp +++ b/src/util/ringloop.cpp @@ -125,6 +125,8 @@ void ring_loop_t::loop() if (cqe->flags & IORING_CQE_F_MORE) { // There will be a second notification + if (mt) + mu.unlock(); d->res = cqe->res; d->more = true; if (d->callback)