Enfore that lockfile= must precede filename=
authorJens Axboe <axboe@fb.com>
Tue, 11 Feb 2014 16:12:06 +0000 (09:12 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 11 Feb 2014 16:12:06 +0000 (09:12 -0700)
The way fio parses options, we need to have the file locking
defined before we start adding files. Normally we can handle
this with option priorities, but that doesn't work across
job section boundaries. So catch this case and error out,
otherwise fio will segfault when it attempts to unlock files
at the end of a job.

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

No differences found