io_uring reading files
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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