projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make pre_read imply invalidate=0
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 07068d74f4a05e576b185d0c2ce7067c59eb45e8..7681102bd506353e05257442e5279c64b43f9bcc 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-357,6
+357,9
@@
static int fixup_options(struct thread_data *td)
if (td->o.verify != VERIFY_NONE)
td->o.refill_buffers = 1;
+ if (td->o.pre_read)
+ td->o.invalidate_cache = 0;
+
return 0;
}