Filename must be parsed after directory option
authorJens Axboe <jens.axboe@oracle.com>
Mon, 27 Apr 2009 06:00:48 +0000 (08:00 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 27 Apr 2009 06:00:48 +0000 (08:00 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
options.c

index 21de222ff7b7d5a2066d3d35fa4e7f63a6222180..9267f790ca3ac6fbd59a11f2cbf5c3ea1629bb57 100644 (file)
--- a/options.c
+++ b/options.c
@@ -605,7 +605,7 @@ static struct fio_option options[] = {
                .type   = FIO_OPT_STR_STORE,
                .off1   = td_var_offset(filename),
                .cb     = str_filename_cb,
-               .prio   = 1, /* must come before "directory" */
+               .prio   = -1, /* must come after "directory" */
                .help   = "File(s) to use for the workload",
        },
        {