Skip to content

Questions on internal path of an SQE #950

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

You must be logged in to vote

For your diagram, the most important thing it's missing is the fast poll implementation that io_uring has. For that '???' box, the question before that should be "Can this file type be polled for data/space readiness?" and if the answer is yes and you go to that ??? box, the answer is "Arm a poll handler to get notified when we can retry the operation".

The io-wq / io worker side generally isn't very interesting, as most things should never hit that side. They are just a fallback for slower operations, generally, if we can't do sane nonblocking operations on them or they are not pollable (like regular files, for example).

Speaking of regular files, reading or writing to them with buffered…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DimitrisCharisis
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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