commit | 7101d9c24abec4be58a086d85d6d92ec6e6492e9 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Sep 12 13:12:39 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Sep 12 13:12:39 2007 +0200 |
tree | fedf7d666af5c1877c183e055730e9fc44171b25 | |
parent | 4241ea8fb0606f9bd5b7ed1278d3b7825883acf6 [diff] [blame] |
Full readonly check Both in core and in engines. To the extent possible, this should catch even fio errors. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/engines/net.c b/engines/net.c index 0adc006..552ad0b 100644 --- a/engines/net.c +++ b/engines/net.c
@@ -198,6 +198,8 @@ struct netio_data *nd = td->io_ops->data; int ret; + fio_ro_check(td, io_u); + if (io_u->ddir == DDIR_WRITE) { if (nd->use_splice) ret = fio_netio_splice_out(td, io_u);