-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
opening files with o_direct fails on kernel versions >= 5.15 #14
Comments
abbbi
changed the title
test for o_direct fails on ubuntu-latest
opening files with o_direct fails on ubuntu-latest (kernel > = 5.15)
Sep 24, 2022
abbbi
changed the title
opening files with o_direct fails on ubuntu-latest (kernel > = 5.15)
opening files with o_direct fails kernels >= 5.15
Sep 25, 2022
abbbi
changed the title
opening files with o_direct fails kernels >= 5.15
opening files with o_direct fails on kernel versions >= 5.15
Sep 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On kernels >= 5.15 module uses ram_aops instead of nullfs_aops structure:
https://github.com/abbbi/nullfsvfs/blob/master/nullfs.c#L342
which does not expose noop direct_io (notably becuase O_DIRECT does not make sense on a FS with memory backend). Newer kenerl versions do not expose simple_readpage etc.. so the only way would be to redefine them, not sure if thats worth the hassle.
The text was updated successfully, but these errors were encountered: