Support limited mixed command line options and job file
authorJens Axboe <axboe@fb.com>
Sun, 6 Apr 2014 16:10:32 +0000 (10:10 -0600)
committerJens Axboe <axboe@fb.com>
Sun, 6 Apr 2014 16:10:32 +0000 (10:10 -0600)
commitbc4f5ef67d26ef98f4822d5f798cb8c4e2d2fce5
tree72fabc6c023968e42af4e5c3ec281edd19528e58
parent25bd16ce8db9fe2da0091b165967e32ef89f9b0f
Support limited mixed command line options and job file

With this, you can now do:

$ fio --timeout=10s --time_based=1 jobfile.fio

and have the command line options work as if they were part
of the global section of jobfile.fio

Note that more advanced uses, like:

$ fio --option_foo=1 jobfile.fio --option_bar=1 jobfile2.fio

will not work, we still clear to default options for
subsequent jobs.

Signed-off-by: Jens Axboe <axboe@fb.com>
init.c