GithubHelp home page GithubHelp logo

io_uring setup parameters about tokio-uring HOT 3 CLOSED

tokio-rs avatar tokio-rs commented on July 17, 2024 2
io_uring setup parameters

from tokio-uring.

Comments (3)

FrankReh avatar FrankReh commented on July 17, 2024

Now with 0.5.5 of the io-uring, there are new ring sizes also, allowing for NVMe passthrough commands, for 5.19+ kernels.

from tokio-uring.

FrankReh avatar FrankReh commented on July 17, 2024

@Noah-Kennedy I had thought about making the driver generic around the two traits created by io-uring 0.5.5 like so.

scoped_thread_local!(pub(crate) static CURRENT: Rc<RefCell<Inner<squeue::EntryMarker, cqueue::EntryMarker>>>);

But of course it's not that easy. The compiler wants a fixed size here, and the use of traits means the size isn't known at compile time.

So maybe we want to live with the driver used by this crate being the original sized Uring, and not plan on supporting the NVMe passthrough commands with it. The NVMe passthrough commands could be supported with an additional uring.

from tokio-uring.

Noah-Kennedy avatar Noah-Kennedy commented on July 17, 2024

I'm going to read up on NVMe passthrough tonight, as I'm not as familiar with that aspect yet.

from tokio-uring.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.