From 16d55aae770b8b1a966d4b4a814918ce49a76ba3 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 22 May 2007 09:21:37 +0200 Subject: [PATCH] Fix bug with random IO and network connections It isn't a supported configuration. Signed-off-by: Jens Axboe --- engines/net.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/net.c b/engines/net.c index 2b48b0ab..1a403bdb 100644 --- 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); -- 2.25.1