Skip to content
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

Use block_in_place for device pause/halt #725

Closed
wants to merge 1 commit into from

Conversation

pfmooney
Copy link
Collaborator

This should address cases where propolis-server was found to be wedged when the viona interrupt poller task happened to be assigned to the same tokio thread as the synchronous pause/halt action.

This should address cases where propolis-server was found to be wedged
when the viona interrupt poller task happened to be assigned to the same
tokio thread as the synchronous pause/halt action.
@pfmooney pfmooney requested a review from gjcolombo July 22, 2024 23:29
@jmpesp
Copy link
Contributor

jmpesp commented Jul 23, 2024

Took this branch for a spin - it fixed the wedge for me as well, thanks!

Copy link
Contributor

@gjcolombo gjcolombo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not for this PR, but does it make sense to try to extend the work #716 to cover pause? (It seems like it might be more idiomatic to make pause return either "ok I'm paused" or the relevant future, rather than having callers call back into paused.)

@pfmooney
Copy link
Collaborator Author

It seems like it might be more idiomatic to make pause return either "ok I'm paused" or the relevant future

Yeah, that seems like the way to go, IMO.

@pfmooney
Copy link
Collaborator Author

Merged in 0a3a26b

@pfmooney pfmooney closed this Jul 23, 2024
@pfmooney pfmooney deleted the tokio-block branch July 23, 2024 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants