You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing some io_uringexamples and I'm currently playing with multishot requests and ProvideBuffers. I have some questions:
Recentlyio_uring moved from io_uring_prep_provide_buffers to ring mapped buffers, as explained here. I don't see this change reflected in the API of this crate, am I wrong?
When I use ProvidedBuffers, how do I signal that some buffers inside a buffer group are ready to be reused? ATM I mark the whole group as available, but is there maybe a way to have more granularity?
The text was updated successfully, but these errors were encountered:
Regarding your second question, AFAIU you can give the buffers back to the ring using ProvideBuffers. Currently, you always give back all the buffers (since you set number of buffers to 4, and bid to 0). Instead, you can return individual buffers by setting the number of buffers to 1, and bid to the respective buffer index.
I'm writing some
io_uring
examples and I'm currently playing with multishot requests andProvideBuffers
. I have some questions:io_uring
moved fromio_uring_prep_provide_buffers
toring mapped buffers
, as explained here. I don't see this change reflected in the API of this crate, am I wrong?ProvidedBuffers
, how do I signal that some buffers inside a buffer group are ready to be reused? ATM I mark the whole group as available, but is there maybe a way to have more granularity?The text was updated successfully, but these errors were encountered: