From: Jens Axboe Date: Mon, 26 Mar 2007 08:09:12 +0000 (+0200) Subject: ->ddir_nr must be 1 by default, otherwise we'll do sequential IO X-Git-Tag: fio-1.15~39 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=fafdba3c553305dd8c6b24f8d5ba95a55dee4d48;hp=4b87898e8d76aaf05baec83077a11311c1447397 ->ddir_nr must be 1 by default, otherwise we'll do sequential IO if no :foo postfix is appended. Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index 7d4396e8..bbb30990 100644 --- a/options.c +++ b/options.c @@ -32,7 +32,7 @@ static int str_rw_cb(void *data, const char *str) struct thread_data *td = data; char *nr = get_opt_postfix(str); - td->o.ddir_nr = 0; + td->o.ddir_nr = 1; if (nr) td->o.ddir_nr = atoi(nr);