sd-readahead.c and sd-readahead.h provide a reference implementation
for APIs for controlling boot-time read-ahead, as implemented by the
read-ahead subsystem of the systemd(1) init system.
See sd_readahead(3) for more information about the function
This interface is provided by the reference implementation of APIs
for controlling boot-time read-ahead and distributed with the systemd
package. The algorithms it implements are simple, and can easily be
reimplemented in daemons if it is important to support this interface
without using the reference implementation. See the respective
function man pages for details.
In addition, for details about the algorithms, check the liberally
licensed reference implementation sources:
These APIs are implemented in the reference implementation's drop-in
sd-readahead.c and sd-readahead.h files. It is recommended that
applications consuming these APIs copy the implementation into their
source tree, either verbatim or in excerpts. These interfaces are
currently not available in a dynamic library.
The functions provided by this interface become NOPs when
-DDISABLE_SYSTEMD is set during compilation. In addition, if
sd-readhead.c is compiled on non-Linux systems it becomes NOPs.
This page is part of the systemd (systemd system and service manager)
project. Information about the project can be found at
⟨http://www.freedesktop.org/wiki/Software/systemd⟩. If you have a bug
report for this manual page, see
page was obtained from the project's upstream Git repository
(git://anongit.freedesktop.org/systemd/systemd) on 2015-12-05. If
you discover any rendering problems in this HTML version of the page,
or you believe there is a better or more up-to-date source for the
page, or you have corrections or improvements to the information in
this COLOPHON (which is not part of the original manual page), send a
mail to email@example.com
systemd 216 SD-READAHEAD(3)