NAME | SYNOPSIS | DESCRIPTION | NOTES | SEE ALSO | COLOPHON

SD-READAHEAD(3)                 sd-readahead                 SD-READAHEAD(3)

NAME         top

       sd-readahead - Reference implementation of APIs for controlling
       boot-time read-ahead

SYNOPSIS         top

       #include "sd-readahead.h"

DESCRIPTION         top

       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
       implemented.

NOTES         top

       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:
       http://cgit.freedesktop.org/systemd/systemd/plain/src/readahead/sd-readahead.c 
       and
       http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-readahead.h 

       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.

SEE ALSO         top

       systemd(1), sd_readahead(3), sd-daemon(3)

COLOPHON         top

       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 
       ⟨http://www.freedesktop.org/wiki/Software/systemd/#bugreports⟩.  This
       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 man-pages@man7.org

systemd 216                                                  SD-READAHEAD(3)