This repository has been archived by the owner on Mar 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add backwards compatbility down to kernel 4.4 (fixes #199)
4.5 added * copy_file_range (torvalds/linux@2973293) * clone_file_range (torvalds/linux@04b38d6) * dedupe_file_range (torvalds/linux@54dbc15) 4.7 added iterate_shared (torvalds/linux@6192269), a variant of iterate that takes a non-exclusive lock. It sounds like it'd be safe to provide an implementation of iterate_shared as iterate. 4.9 removed aio_fsync (torvalds/linux@723c038), which was never actually used, so we can set it to None in older kernels and not think about it. 4.13 added wait_for_random_bytes (torvalds/linux@e297a78). For now, conditionalize the entire random module on it. All test cases other than random pass on Ubuntu 16.04's kernel. Update the README to say we expect 4.4 onwards to work, possibly with newer Clang for really new kernels (refs #219).
- Loading branch information
Showing
4 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters