IORing: support SQPOLL
- Dominant language
- Swift
- Stars
- 1.4k
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
I would like to use iouring with SQPOLL to avoid unnecessary syscalls.
I found this comment in the code and wonder if there are any plans of supporting it...
```
// Ring always needs enter right now;
// TODO: support SQPOLL here
while true {
let ret = io_uring_enter(ringDescriptor, numEvents, minCompletions, flags, nil)
```
Contributor guide
Research direction
Start by locating the ring operation containing the shown io_uring_enter loop and read how its flags and completion parameters are assembled. Investigate the SQPOLL behavior and determine what changes are needed so the ring can avoid unnecessary enters; done means SQPOLL rings operate correctly without breaking existing ring behavior, with tests covering the supported path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100