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

OpenOptions in blocking mod is a time-consuming operation. #359

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

jokemanfire
Copy link
Contributor

@jokemanfire jokemanfire commented Jan 8, 2025

Prevent it from blocking a tokio thread. Change sync to async.
And fix an error in Pipe struct.

@github-actions github-actions bot added C-runc-shim Runc shim C-runc runc helper labels Jan 8, 2025
@github-actions github-actions bot removed the C-runc-shim Runc shim label Jan 8, 2025
@jokemanfire jokemanfire force-pushed the io branch 2 times, most recently from 09d88aa to 7257a45 Compare January 8, 2025 08:02
@mxpv
Copy link
Member

mxpv commented Jan 8, 2025

Overall looks good! I have one minor comment.

1.Prevent it from blocking a tokio thread. Change sync to async.
2.Add pipe unit test which I found error in Pipe new.

Signed-off-by: jokemanfire <[email protected]>
@mxpv mxpv added this pull request to the merge queue Jan 9, 2025
Merged via the queue into containerd:main with commit a345bac Jan 9, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-runc runc helper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants