chiark / gitweb /
readahead: bump a device's request_nr when enabling readahead
[elogind.git] / src / readahead-replay.c
index cb93fae806e7cbd3fd552b3ab4d10e230ec6e008..ab0c8084c8414c73daded01ca8664565d3937f8a 100644 (file)
@@ -127,6 +127,7 @@ static int replay(const char *root) {
         assert(root);
 
         write_one_line_file("/proc/self/oom_score_adj", "1000");
+        bump_request_nr(root);
 
         if (asprintf(&pack_fn, "%s/.readahead", root) < 0) {
                 log_error("Out of memory");