[PATCH] Simple support for networked IO
[fio.git] / filesetup.c
index 2d8193e..610981b 100644 (file)
@@ -330,6 +330,8 @@ static int setup_file(struct thread_data *td, struct fio_file *f)
 {
        int flags = 0;
 
+       if (td->io_ops->flags & FIO_NETIO)
+               return 0;
        if (td->odirect)
                flags |= OS_O_DIRECT;
        if (td->sync_io)