projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7dbb6eb
)
Fix bug with random IO and network connections
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 22 May 2007 07:21:37 +0000
(09:21 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 22 May 2007 07:21:37 +0000
(09:21 +0200)
It isn't a supported configuration.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/net.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/net.c
b/engines/net.c
index 2b48b0abb56c41ab69e1ec50928664e91d478e21..1a403bdb95688319ef53c0324cd57b368a1741e4 100644
(file)
--- a/
engines/net.c
+++ b/
engines/net.c
@@
-231,6
+231,10
@@
static int fio_netio_init(struct thread_data *td)
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);