summaryrefslogtreecommitdiff
path: root/src/readahead-common.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-23 17:35:16 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-23 17:35:16 +0200
commit6e3eb5ba18172ed965e6b91fd7fc05de6c86f739 (patch)
tree76e7cbce7a863f8240f611d555ebe527faaea499 /src/readahead-common.h
parent746f89063666be8c4d538271c646585ac4fc4353 (diff)
readahead: put limit on files we read ahead
Diffstat (limited to 'src/readahead-common.h')
-rw-r--r--src/readahead-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/readahead-common.h b/src/readahead-common.h
index da6a74ea03..5d8f1a34fa 100644
--- a/src/readahead-common.h
+++ b/src/readahead-common.h
@@ -25,6 +25,7 @@
#include <sys/stat.h>
#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);