[PATCH] Simple support for networked IO
Adds a new ioengine, net. Use with ioengine=net, it supports only strict
reading or writing (no mixed reads/writes) to/from a single host.
The filename given must contain the host and port to connect to (or
listen from).
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/filesetup.c b/filesetup.c
index 2d8193e..610981b 100644
--- a/filesetup.c
+++ b/filesetup.c
@@ -330,6 +330,8 @@
{
int flags = 0;
+ if (td->io_ops->flags & FIO_NETIO)
+ return 0;
if (td->odirect)
flags |= OS_O_DIRECT;
if (td->sync_io)