chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
units: Remove the distro specific references to killall.service.
[elogind.git]
/
src
/
readahead-common.h
diff --git
a/src/readahead-common.h
b/src/readahead-common.h
index c7fd713e1386744825360e4091b42b5be95358ab..7add62613f91e79681d9a988d4190548dbc331bc 100644
(file)
--- a/
src/readahead-common.h
+++ b/
src/readahead-common.h
@@
-23,6
+23,9
@@
***/
#include <sys/stat.h>
***/
#include <sys/stat.h>
+#include <sys/types.h>
+
+#include "macro.h"
#define READAHEAD_FILE_SIZE_MAX (128*1024*1024)
#define READAHEAD_FILE_SIZE_MAX (128*1024*1024)
@@
-32,4
+35,13
@@
int fs_on_ssd(const char *p);
bool enough_ram(void);
bool enough_ram(void);
+int open_inotify(void);
+
+typedef struct ReadaheadShared {
+ pid_t collect;
+ pid_t replay;
+} _packed_ ReadaheadShared;
+
+ReadaheadShared *shared_get(void);
+
#endif
#endif