From 436bb5d60934c534b2ddab599236493fbff4da23 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 15 Oct 2020 00:56:37 +0200 Subject: [PATCH] Don't flush the cache on plocate.db. This was changed by mistake in an earlier patch. --- plocate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plocate.cpp b/plocate.cpp index b63fefa..dfb12d4 100644 --- a/plocate.cpp +++ b/plocate.cpp @@ -246,7 +246,7 @@ Corpus::Corpus(int fd, IOUringEngine *engine) : fd(fd), engine(engine) { // Enable to test cold-cache behavior (except for access()). - if (true) { + if (false) { off_t len = lseek(fd, 0, SEEK_END); if (len == -1) { perror("lseek"); -- 2.39.2