* Place to read io_uring design?
@ 2025-06-22 4:46 Levo D
0 siblings, 0 replies; 2+ messages in thread
From: Levo D @ 2025-06-22 4:46 UTC (permalink / raw)
To: io-uring
I read the man pages. I have a good idea of how to use the API but I can't understand why the API is the way it is. I have a handful of complaints, but I would rather learn more about the design so the API may make more sense to me. I'm specifically talking about the kernel api (I used it through syscalls,) not the c wrapper. Is there a document or something I can read?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Place to read io_uring design?
@ 2025-06-27 17:45 Levo D
0 siblings, 0 replies; 2+ messages in thread
From: Levo D @ 2025-06-27 17:45 UTC (permalink / raw)
To: io-uring
I didn't see any pages about io uring design, could I ask questions about it here? I can start with simple. In the submission and completion offset struct, the mask (and flags) holds a 32bit index for us to get a 32bit value. Why not have it hold the value instead and remove offsets from the struct name? It makes me suspecious that the mask can change?
Another one is why have an offset table at all? Wouldn't it make everything more simple if there were a set of entry values we can pick from with a decaded struct for it? Wouldn't that make both user and kernel space more simple? I have no idea what value is most optimal for my usecase and picking one from a known list of values would have been nice. I see the man pages have been updated since I last read them so I'll be rereading them
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-27 17:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-27 17:45 Place to read io_uring design? Levo D
-- strict thread matches above, loose matches on Subject: below --
2025-06-22 4:46 Levo D
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox