projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore pre-read for FIO_NOIO td
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 9335dcd3f8dd4b2c38548ee23dbc7e56282caeb0..bd971e8e1f032731ed3f72582c07beb486f34261 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-235,7
+235,8
@@
static int pre_read_file(struct thread_data *td, struct fio_file *f)
unsigned int bs;
char *b;
unsigned int bs;
char *b;
- if (td_ioengine_flagged(td, FIO_PIPEIO))
+ if (td_ioengine_flagged(td, FIO_PIPEIO) ||
+ td_ioengine_flagged(td, FIO_NOIO))
return 0;
if (!fio_file_open(f)) {
return 0;
if (!fio_file_open(f)) {