chiark / gitweb /
readhead: temporarily lower the kernel's read_ahead_kb setting while collecting
[elogind.git] / src / readahead / readahead-replay.c
index f91020e805fd44cc92ad2c446ea96d4965239183..0b7e6df946aab24b7311b3de133bf601049cc730 100644 (file)
@@ -133,7 +133,7 @@ static int replay(const char *root) {
         assert(root);
 
         write_one_line_file("/proc/self/oom_score_adj", "1000");
-        bump_request_nr(root);
+        block_bump_request_nr(root);
 
         if (asprintf(&pack_fn, "%s/.readahead", root) < 0) {
                 log_error("Out of memory");