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

Add timeout to guest mount/unmount RPCs #6424

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

bduffany
Copy link
Member

@bduffany bduffany commented Apr 23, 2024

Mount/unmount should be relatively fast, so if these RPCs take longer than 1 minute then the vmexec server is likely stuck and the mount/unmount will likely never complete. Return an error in this case rather than allowing the RPC to hang.

Related issues: N/A

Copy link
Member

@tylerwilliams tylerwilliams left a comment

Choose a reason for hiding this comment

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

LGTM, Approval

@bduffany bduffany merged commit f3c4ffa into master Apr 23, 2024
19 checks passed
@bduffany bduffany deleted the firecracker-mount-timeout branch April 23, 2024 17:20
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.

None yet

2 participants