From: Jens Axboe Date: Tue, 22 May 2007 07:21:37 +0000 (+0200) Subject: Fix bug with random IO and network connections X-Git-Tag: fio-1.16.2~5 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=16d55aae770b8b1a966d4b4a814918ce49a76ba3;hp=7dbb6eba84b38be2d3d10cd4d6cc145d939c5745;ds=sidebyside Fix bug with random IO and network connections It isn't a supported configuration. Signed-off-by: Jens Axboe --- 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);