-
Notifications
You must be signed in to change notification settings - Fork 130
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
rt: refactor driver, runtime, and op #197
Conversation
This cleans up a few different pieces and is a followup change from #196.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice. And quick. I'm setting this to 'request changes' really just to get your reaction to everything. If you don't want to change anything that's okay. Then I'll set to approved.
let _guard = tokio_rt.enter(); | ||
let async_driver_handle = AsyncFd::new(driver).unwrap(); | ||
|
||
local.spawn_local(drive_uring_wakes(async_driver_handle)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I may, I think 'driver' is still being used too much. Everything is a driver. Then nothing is. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we should probably rename a bunch of the driver
vars to driver_handle
.
@Noah-Kennedy Oh, also make clippy happy. |
@FrankReh could you take a re-review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
This cleans up a few different pieces and is a followup change from #196.