commit | fafdba3c553305dd8c6b24f8d5ba95a55dee4d48 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Mon Mar 26 10:09:12 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Mar 26 10:09:12 2007 +0200 |
tree | 0e642c08f573b0dd83c8c054a226779336f427a6 | |
parent | 4b87898e8d76aaf05baec83077a11311c1447397 [diff] [blame] |
->ddir_nr must be 1 by default, otherwise we'll do sequential IO if no :foo postfix is appended. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/options.c b/options.c index 7d4396e..bbb3099 100644 --- a/options.c +++ b/options.c
@@ -32,7 +32,7 @@ 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);