Skip to content

Will there ever be support for fixed ring descriptors? #1024

Answered by axboe
arajni3 asked this question in Q&A
Discussion options

You must be logged in to vote

You cannot register an io_uring fd, the ring registration itself is special and does not use or participate in the normal fixed file registration. This means that you could not have the destination ring be a fixed file, ever, it's simply not supported. For the source ring, that is simply managed by having that ring fd registered with io_uring_register_ring_fd(), in which case no fget/fput will happen for that side.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by arajni3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants