Missed FIO_UNIDIR io ops flags on net engine
authorJens Axboe <jens.axboe@oracle.com>
Thu, 26 Jul 2007 11:13:49 +0000 (13:13 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 26 Jul 2007 11:13:49 +0000 (13:13 +0200)
Inadvertenly only set it on the netsplice engine, not net.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/net.c

index 0cda953c852a11dba34602b21098c77b222863ec..0adc00647ed3fd1dea23875b3fbbdc6e27784707 100644 (file)
@@ -461,7 +461,7 @@ static struct ioengine_ops ioengine_rw = {
        .cleanup        = fio_netio_cleanup,
        .open_file      = fio_netio_open_file,
        .close_file     = generic_close_file,
-       .flags          = FIO_SYNCIO | FIO_DISKLESSIO,
+       .flags          = FIO_SYNCIO | FIO_DISKLESSIO | FIO_UNIDIR,
 };
 
 static struct ioengine_ops ioengine_splice = {