->ddir_nr must be 1 by default, otherwise we'll do sequential IO
authorJens Axboe <jens.axboe@oracle.com>
Mon, 26 Mar 2007 08:09:12 +0000 (10:09 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 26 Mar 2007 08:09:12 +0000 (10:09 +0200)
if no :foo postfix is appended.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
options.c

index 7d4396e81d1aa637748bd135c52e520c09beb7ca..bbb30990d28ba06955ea458a3b809f463a41e79c 100644 (file)
--- 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);