Replies: 4 comments 2 replies
-
No plans to add that, because I don't know what that would refer to. What is being paused and resumed? |
Beta Was this translation helpful? Give feedback.
-
I see - yes I don't think this fits with the OS/C model at all, as you can't really pause access to an fd. I suspect this is a higher level primitive that needs to be applied as such, not something io_uring can directly sppport. ioprio is passed down the stack and already works for things like storage, it's not meant to be used in io_uring core. |
Beta Was this translation helpful? Give feedback.
-
Ok, dealing with
I see.
Its not something I would bug you to implement since its easy to do this in higher languages. That being said I don't think its impossible either. Lets think about it... now that Lets say you submit
You want to pause The task is either not processed (still in sqe) or finished (already in cqe). In Later you resume |
Beta Was this translation helpful? Give feedback.
-
My point is that since it's easy to do elsewhere, adding extra code and tracking for this in io_uring would then just a cost that everyone else would have to pay. Hence I don't think that's a worthy tradeoff. The features that belong in io_uring are things you can't easily do higher up. |
Beta Was this translation helpful? Give feedback.
-
Are there any plans to add Pause and Resume features?
Beta Was this translation helpful? Give feedback.
All reactions