NVIDIA / NVIDIA/stdexec

io_uring reading files

Open
#1,062 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.4k
Forks
270
Avg merge
3d 6h
Merged PRs (30d)
39

Description

The included io_uring example doesn't show how to read files or other operations supported by io_uring.

I would like to implement a random access file reader class that will handle batches of read requests in an async manner. Need directions to move forward. The read requests will be a range of begin and end iterators into the file in terms of bytes. The destination will be a range of pointers. I would like to avoid any extra copies as much as possible.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the included io_uring example and identify how it currently submits and completes operations. Clarify the random-access reader API for byte ranges, destination pointers, batching, asynchronous completion, and copy avoidance. Done means the example demonstrates file reads and the requested reader behavior is covered by appropriate project tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.