The source project of this merge request has been removed.
Avoid Tokio's non-blocking file system wrapper
To implement the AsyncWrite
trait, Tokio's File
type needs to copy the given buffer. Since we do not need compatability with this particular interface and usually already own our buffers, we can use spawn_blocking
or where appropriate block_in_place
to avoid the extra copies.