commit | 16d55aae770b8b1a966d4b4a814918ce49a76ba3 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue May 22 09:21:37 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue May 22 09:21:37 2007 +0200 |
tree | 17075a2907b39c23879f5bf793743e45f234de2c | |
parent | 7dbb6eba84b38be2d3d10cd4d6cc145d939c5745 [diff] [blame] |
Fix bug with random IO and network connections It isn't a supported configuration. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/engines/net.c b/engines/net.c index 2b48b0a..1a403bd 100644 --- a/engines/net.c +++ b/engines/net.c
@@ -231,6 +231,10 @@ log_err("fio: network connections must be read OR write\n"); return 1; } + if (td_random(td)) { + log_err("fio: network IO can't be random\n"); + return 1; + } strcpy(buf, td->o.filename);