X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsd-daemon.h;h=2fbfe955cef5c98a3cb4a2b6fb56ebd2a0fb49b6;hb=6624768c9c39ab409edebe07cb06ecd93cc6f3ed;hp=008a44c1d21b77270344ce338dbefa429be1e238;hpb=f0cf061eda90f60730dbb222675e48d11e8cf757;p=elogind.git diff --git a/src/sd-daemon.h b/src/sd-daemon.h index 008a44c1d..2fbfe955c 100644 --- a/src/sd-daemon.h +++ b/src/sd-daemon.h @@ -254,6 +254,16 @@ int sd_notifyf(int unset_environment, const char *format, ...) _sd_printf_attr_( */ int sd_booted(void) _sd_hidden_; +/* + Controls ongoing disk read-ahead operations during boot-up. The argument + must be a string, and either "cancel", "done" or "noreplay". + + cancel = terminate read-ahead data collection, drop collected information + done = terminate read-ahead data collection, keep collected information + noreplay = terminate read-ahead replay +*/ +int sd_readahead(const char *action); + #ifdef __cplusplus } #endif