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
This executor should be just enough to provide basic file I/O functionality to bootstrap/Basis.
Owns/manages an ioring
boostrap/Basis functions submit in the executor ioring
openat
read
write
seek
close
bootstrap/Basisreceive function receives completed I/O functions
openat
read
write
seek
close
We're not implementing the actor mailbox yet, we only have one executor, and we also do not have time slice interrupts. Knowing that, we're making the following design decisions.
We malloc a space for CQEs to be copied to and use the pointer as the SQE user_data. Every time we see a CQE in the completion queue, we copy it to the memory location pointed to by the user_data field.
We only call io_uring_enter when we try to submit an SQE into a full submission queue, or when we block waiting for a completion.
We'll construct a global singleton executor and register an atexit handler to clean it up.
The text was updated successfully, but these errors were encountered:
cevans87
changed the title
Create bootstrap/basis executor
Create bootstrap/Basis executor
Oct 13, 2021
cevans87
changed the title
Create bootstrap/Basis executor
Create bootstrap executor with file I/O
Oct 13, 2021
This executor should be just enough to provide basic file I/O functionality to
bootstrap/Basis
.boostrap/Basis
functions submit in the executor ioringbootstrap/Basis
receive
function receives completed I/O functionsWe're not implementing the actor mailbox yet, we only have one executor, and we also do not have time slice interrupts. Knowing that, we're making the following design decisions.
user_data
. Every time we see a CQE in the completion queue, we copy it to the memory location pointed to by theuser_data
field.io_uring_enter
when we try to submit an SQE into a full submission queue, or when we block waiting for a completion.atexit
handler to clean it up.The text was updated successfully, but these errors were encountered: