bloomberg / bloomberg/ntf-core

Validate at runt-time that all required io_uring features are available, else disable the io_uring driver

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
99
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Support for `io_uring` was added in https://github.com/bloomberg/ntf-core/pull/24. The implementation detects, at run-time, whether the Linux kernel of the current machine supports `io_uring`, and if not, the driver is disabled. This run-time validation should be extended to probe `io_uring` to detects more of the kernel's capabilities and verify that each one (e.g. support for the "sendmsg" operation) is supported before the driver determines itself to be available.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing io_uring runtime validation added in pull request #24 and identify how the driver decides it is available. Extend the probe to cover each required kernel capability, including sendmsg, and verify that the driver is disabled when any required operation is unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
networking, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.