chiark / gitweb /
path: refactor PathSpec usage
[elogind.git] / src / readahead-common.h
index 964ca1f2fa976dbb705b8b75a0c1a1273f45ba24..9547ad201c07bf8c1a6a01e7cfafa5bb70444e2c 100644 (file)
 
 #include "macro.h"
 
-#define READAHEAD_FILE_SIZE_MAX (128*1024*1024)
+#define READAHEAD_FILE_SIZE_MAX (10*1024*1024)
 
 int file_verify(int fd, const char *fn, off_t file_size_max, struct stat *st);
 
 int fs_on_ssd(const char *p);
+int fs_on_read_only(const char *p);
 
 bool enough_ram(void);