Skip to content

Conversation

devnexen
Copy link
Contributor

@devnexen devnexen commented Sep 4, 2024

Enable/disable read ahead globally on the file descriptor. When on,
the os preemptively reads data in cache to anticipate future read
operations.

@devnexen devnexen marked this pull request as ready for review September 4, 2024 19:39
Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one tiny typo:)

@@ -0,0 +1 @@
Add fcntl constant `R_RDAHEAD` for Apple target
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Add fcntl constant `R_RDAHEAD` for Apple target
Add fcntl constant `F_RDAHEAD` for Apple target

Enable/disable read ahead globally on the file descriptor. When on,
 the os preemptively reads data in cache to anticipate future read
operations.
@SteveLauC SteveLauC added this pull request to the merge queue Sep 5, 2024
Merged via the queue into nix-rust:master with commit 211f1ab Sep 5, 2024
36 checks passed
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

Successfully merging this pull request may close these issues.

2 participants