commit | b1ec1da670aab645e32303ea5ffaa1e5ca336936 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Fri Feb 23 10:29:16 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Feb 23 10:29:16 2007 +0100 |
tree | 2e6df9a7ad4bd134d00ad990ed835cbcd988b5c2 | |
parent | 413dd459a7710ba421061e840dd9ac3161c70f20 [diff] |
Move handling of possible values into the option parser Eliminates the need for a callback for any FIO_OPT_STR type option, unless it needs to do something there other than just setting the variable. The possible options are not in an array of value pairs, so we can easily match an string option with an integer output value. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>