You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
readahead() is a Linux-specific system call, and many C libraries (e.g.
Android's Bionic) do not declare it by default. A more-portable alternative is
to use posix_fadvise() with `POSIX_FADV_WILLNEED`. This is functionally
equivalent to readahead() on Linux.
Additionally, on FreeBSD, Dispatch is currently using fcntl() with `F_RDAHEAD`.
This is not exactly equivalent to Darwin's `F_RDADVISE`. Using posix_fadvise()
should work better here too.
0 commit comments