Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E emper
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • i4i4
  • manycore
  • emper
  • Merge requests
  • !235

[IoContext] Add missing error handling in submitPreparedSqesAndWait()

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Florian Schmaus requested to merge flow/emper:io-context-error-handling into master Aug 18, 2021
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Within the

do { reapAndScheduleCompletions() } while (io_uring_submit() == -EBUSY)

loop, the return value of io_uring_submit could be a negative value other than EBUSY. In that case, we did not DIE.

Looking at the SubmitActor, where we have a very similar loop, the error handling is correct. This changes the error handling in IoContext to match the one of SubmitActor, even though it has a little bit more overhead.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: io-context-error-handling