chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
readhead: temporarily lower the kernel's read_ahead_kb setting while collecting
[elogind.git]
/
src
/
readahead
/
readahead-replay.c
diff --git
a/src/readahead/readahead-replay.c
b/src/readahead/readahead-replay.c
index f91020e805fd44cc92ad2c446ea96d4965239183..0b7e6df946aab24b7311b3de133bf601049cc730 100644
(file)
--- a/
src/readahead/readahead-replay.c
+++ b/
src/readahead/readahead-replay.c
@@
-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);
+ b
lock_b
ump_request_nr(root);
if (asprintf(&pack_fn, "%s/.readahead", root) < 0) {
log_error("Out of memory");