aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/query.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/query.cc b/src/util/query.cc
index f210613..f71b257 100644
--- a/src/util/query.cc
+++ b/src/util/query.cc
@@ -15,6 +15,7 @@ std::vector<std::string> get_lines_starting_with(
return std::vector<std::string>{};
}
+
posix_fadvise(fileno(file), 0, 0, 1); // FDADVICE_SEQUENTIAL
std::vector<std::string> result;