From: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> pre_read_file() should ignore FIO_NOIO (i.e. cpuio) in addition to FIO_PIPEIO. It does/should fail anyway since FIO_NOIO td is supposed to have -1 for fd for not supporting any I/O. Signed-off-by: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> --- filesetup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filesetup.c b/filesetup.c index 9335dcd..bd971e8 100644 --- 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; - 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)) { -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html