From 7a81ba0016f8c9d4ce9cf4687019b8fb57eb6dd0 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Mon, 23 Sep 2024 11:54:14 +0200 Subject: [PATCH] Ignore submit_and_wait failing if it is interrupted (#1021) --- src/components/proxy/io_uring_shared.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/proxy/io_uring_shared.rs b/src/components/proxy/io_uring_shared.rs index 8f9327abc..cfb304e45 100644 --- a/src/components/proxy/io_uring_shared.rs +++ b/src/components/proxy/io_uring_shared.rs @@ -625,6 +625,9 @@ impl IoUringLoop { match submitter.submit_and_wait(1) { Ok(_) => {} Err(ref err) if err.raw_os_error() == Some(libc::EBUSY) => {} + Err(ref err) if err.raw_os_error() == Some(libc::EINTR) => { + continue; + } Err(error) => { tracing::error!(%error, "io-uring submit_and_wait failed"); return;