From fafdba3c553305dd8c6b24f8d5ba95a55dee4d48 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 26 Mar 2007 10:09:12 +0200 Subject: [PATCH 1/1] ->ddir_nr must be 1 by default, otherwise we'll do sequential IO if no :foo postfix is appended. Signed-off-by: Jens Axboe --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1