summaryrefslogtreecommitdiff
path: root/src/readahead
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-13 00:06:30 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-13 00:10:35 +0200
commita8b10efaec5005b8e4fcc2bebdf86993ad14993d (patch)
treeb9657f60ac5c09718d49610ad2626839426d28bc /src/readahead
parent9f26fa2217bcad38a6a92a06a598f6c3a3d1b18e (diff)
readahead: use 20K instead of 16K as temporary request nr bump
Diffstat (limited to 'src/readahead')
-rw-r--r--src/readahead/readahead-common.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/readahead/readahead-common.c b/src/readahead/readahead-common.c
index 766b3a1936..10b0ccc548 100644
--- a/src/readahead/readahead-common.c
+++ b/src/readahead/readahead-common.c
@@ -214,7 +214,11 @@ finish:
return m;
}
-#define BUMP_REQUEST_NR (16*1024)
+/* We use 20K instead of the more human digestable 16K here. Why?
+ Simply so that it is more unlikely that users end up picking this
+ value too so that we can recognize better whether the user changed
+ the value while we had it temporarily bumped. */
+#define BUMP_REQUEST_NR (20*1024)
int block_bump_request_nr(const char *p) {
struct stat st;