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

Non-page aligned O_DIRECT doesn't work #21

Open
josefbacik opened this issue Feb 11, 2021 · 0 comments
Open

Non-page aligned O_DIRECT doesn't work #21

josefbacik opened this issue Feb 11, 2021 · 0 comments

Comments

@josefbacik
Copy link
Contributor

io_uring wants to relax the page alignment requirements for O_DIRECT, use the dma alignment for the underlying device instead. This poses a problem for btrfs because we expect to checksum a page and have a hard requirement that the page offset == 0. This may be solved with the subpage blocksize support, but will need to be revisited once that lands to verify that it's actually fixed. Jens has patches pending for this work and haven't been submitted upstream yet, but likely target is 5.13, so it's not a deep and burning issue.

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