Skip to content

Commit

Permalink
Ignore submit_and_wait failing if it is interrupted (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle authored Sep 23, 2024
1 parent cd93aae commit 7a81ba0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/proxy/io_uring_shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7a81ba0

Please sign in to comment.