summaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-07-26 12:22:30 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-07-26 12:22:30 +0200
commitb67740d3620aee7c753987cdcf750fa28d871fcf (patch)
treeced8158301177df42085d01181e5550deb68c583 /engines
parent4c5946c6606abc87ba7e2bfc57a5030d19b6d4d5 (diff)
downloadfio-b67740d3620aee7c753987cdcf750fa28d871fcf.tar.gz
IO verification improvements
- Add a FIO_UNIDIR io ops flag. This like networked IO can't be read/write, so verify only makes sense for data summed by another writer. - Allow a read workload to verify previously written data. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'engines')
-rw-r--r--engines/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/net.c b/engines/net.c
index 52e3b049..0cda953c 100644
--- a/engines/net.c
+++ b/engines/net.c
@@ -474,7 +474,7 @@ static struct ioengine_ops ioengine_splice = {
.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 void fio_init fio_netio_register(void)