X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Freadahead-common.h;h=3f64f290a927303adf0ec545655c3e44ee52b257;hb=cb33e400006806676baac91fb297185b179931c7;hp=5d8f1a34fa26b9e3e97988eaaeebd7149d0eaee3;hpb=6e3eb5ba18172ed965e6b91fd7fc05de6c86f739;p=elogind.git diff --git a/src/readahead-common.h b/src/readahead-common.h index 5d8f1a34f..3f64f290a 100644 --- a/src/readahead-common.h +++ b/src/readahead-common.h @@ -25,10 +25,13 @@ #include #define READAHEAD_FILE_SIZE_MAX (128*1024*1024) -#define READAHEAD_FILES_MAX (16*1024) -int file_verify(int fd, const char *fn, struct stat *st); +int file_verify(int fd, const char *fn, off_t file_size_max, struct stat *st); int fs_on_ssd(const char *p); +bool enough_ram(void); + +int open_inotify(void); + #endif