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

alloc_dma_buffer returns uninitialized bytes intentionally? #604

Open
vlovich opened this issue Aug 31, 2023 · 0 comments
Open

alloc_dma_buffer returns uninitialized bytes intentionally? #604

vlovich opened this issue Aug 31, 2023 · 0 comments

Comments

@vlovich
Copy link
Contributor

vlovich commented Aug 31, 2023

This fails on my system:

let buf = file.alloc_dma_buffer(512);
assert!(buf.iter().all(|x| *x == 0));

If alloc_dma_buffer is expected to return uninitialized bytes, should it be documented at least?

System:
Linux 6.5.0
glommio d93c460

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