-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Bootstrap.File.seek
#165
Comments
I ran into an unexpected problem with implementing this and my investigation leads me to wonder whether I need to make a change to the way we keep track of position in file read/write operations. Firstly, there just isn't an These findings make me think we have a few options moving forward.
|
After discussing with @jasone , option 2 seems best. Letting the kernel track our file position has some serious footguns, some of which are made worse by the concurrent nature of io_uring (two back-to-back read submissions that are not linked will not be explicitly serialized by the kernel, so read results are unstable). Doing away with kernel-side file position tracking makes me wonder what |
Opened #169 . |
Socket.{read|write}
. I'd originally thought the signatures would look exactly the same as withFile.{read|write}
.The text was updated successfully, but these errors were encountered: