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 tokio::io::copy_buf for spawn_copy #347

Closed
wants to merge 1 commit into from

Conversation

analytically
Copy link

Helps to avoid blocking, reduces system calls, can stop more cleanly between read/write cycles, better backpressure.

…ces system calls, can stop more cleanly between read/write cycles, better backpressure.
@github-actions github-actions bot added the C-runc-shim Runc shim label Nov 29, 2024
@analytically analytically changed the title Use tokio::io::copy_buf for spawn_copy. Use tokio::io::copy_buf for spawn_copy Nov 29, 2024
@jokemanfire
Copy link
Contributor

I don't know if tokio:: io::copy uses zero copy and if copy_buff will pass through the user state buffer once?

@centralci centralci closed this by deleting the head repository Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-runc-shim Runc shim
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants