projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve throughput ETA display
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 8deedcc670689bd59b129c44714f45717d366103..b3ce07c9fce15dbdc67746b5455343ed15723365 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-18,8
+18,9
@@
#include "parse.h"
#include "smalloc.h"
#include "filehash.h"
#include "parse.h"
#include "smalloc.h"
#include "filehash.h"
+#include "verify.h"
-static char fio_version_string[] = "fio 1.24";
+static char fio_version_string[] = "fio 1.2
6.
4";
#define FIO_RANDSEED (0xb1899bedUL)
#define FIO_RANDSEED (0xb1899bedUL)
@@
-357,6
+358,9
@@
static int fixup_options(struct thread_data *td)
if (td->o.verify != VERIFY_NONE)
td->o.refill_buffers = 1;
if (td->o.verify != VERIFY_NONE)
td->o.refill_buffers = 1;
+ if (td->o.pre_read)
+ td->o.invalidate_cache = 0;
+
return 0;
}
return 0;
}