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

File should support vectored writes #5949

Closed
Darksonn opened this issue Aug 25, 2023 · 0 comments
Closed

File should support vectored writes #5949

Darksonn opened this issue Aug 25, 2023 · 0 comments
Labels
A-tokio Area: The main tokio crate C-bug Category: This is a bug. M-fs Module: tokio/fs

Comments

@Darksonn
Copy link
Contributor

Darksonn commented Aug 25, 2023

Currently, when you write to a file, the data you provided is copied into an internal buffer, which is then written to the file from a background spawn_blocking thread. We can support vectored writes by copying all of the provided buffers into the internal buffer, and then writing the internal buffer like normal.

This is a good first issue. Contact me for mentoring.

@Darksonn Darksonn added C-bug Category: This is a bug. E-help-wanted Call for participation: Help is requested to fix this issue. A-tokio Area: The main tokio crate M-fs Module: tokio/fs labels Aug 25, 2023
@Darksonn Darksonn removed the E-help-wanted Call for participation: Help is requested to fix this issue. label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate C-bug Category: This is a bug. M-fs Module: tokio/fs
Projects
None yet
Development

No branches or pull requests

1 participant