Skip to content

Support io_uring for file I/O #7266

@mox692

Description

@mox692

This proposal suggests adding support for io_uring in Tokio's file API. The following provides the details of this proposal.

Proposal: https://hackmd.io/@ScaowLCjTCGW9slfxHgVHw/SkRCb0zCkx

Summary

  • This proposal suggests adding support for io_uring in Tokio's file API.
  • Initially, the goal is to transparently replace the file API backend with io_uring from a thread pool. Advanced features such as registered fds or registered buffers will probably be addressed in separate proposal.
  • The application of io_uring to network I/O is outside the scope of this proposal.
  • The implementation will happen incrementally.

Current Status

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tokioArea: The main tokio crateC-feature-requestCategory: A feature request.M-fsModule: tokio/fs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions