-
I am trying to understand how I can leverage the enhanced capabilities of tags API. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
When you unregister a buffer (e.g. |
Beta Was this translation helpful? Give feedback.
When you unregister a buffer (e.g.
IORING_REGISTER_BUFFERS_UPDATE
), it's not released immediately and might still be in use after the update reported success (syscall returns), and so you wouldn't know when it's safe to reuse the buffer. With tags io_uring will post a CQE when it has actually been released.Tags are mainly there for registered buffers. They work for registered files, but they don't have such a problem.