make ioengine specific command line options work
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 9 Oct 2013 15:32:34 +0000 (09:32 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Oct 2013 15:32:34 +0000 (09:32 -0600)
commit8a96c80eae18a3594a43cadd82a5807fd2f340cd
tree0ec2034f004acff678ae8c462d892cc8204c354d
parent4db089f5dd8a00eb4efdc8694735ef2cc3843998
make ioengine specific command line options work

If the ioengine specific parameter is given on the command line,
unrelated value in thread_data.o will be corrupted unexpectedly.
Specifically, if libaio specific parameter userspace_reap is given
on the command line, thread_data.o.description will be set to 1.

This fixes it by passing the correct pointer of ioengine specific
options to the command line parser.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
options.c