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

VortexReadAt to accept owned IoBufMut #1755

Open
gatesn opened this issue Dec 30, 2024 · 0 comments
Open

VortexReadAt to accept owned IoBufMut #1755

gatesn opened this issue Dec 30, 2024 · 0 comments

Comments

@gatesn
Copy link
Contributor

gatesn commented Dec 30, 2024

Instead of our own Buf trait, we can re-use the Tokio bytes one now that vortex-buffer implements this in #1753

This should be taken by ownership to support io-uring runtimes, and allows us to pass pre-aligned buffers all the way down to the kernel avoiding any additional copies for alignment.

@gatesn gatesn changed the title VortexReadAt to accept bytes::BufMut VortexReadAt to accept owned IoBufMut Dec 31, 2024
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

No branches or pull requests

1 participant