options: get rid of more .cb option usage we don't need
authorJens Axboe <axboe@kernel.dk>
Thu, 29 Mar 2012 19:17:12 +0000 (21:17 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Mar 2012 19:17:12 +0000 (21:17 +0200)
commit203160d52b866497caef35335a7032fb9702a4af
treea2d96a2928ee3cd5599c51a962251979291450c5
parent28727df79348d4ebbd8fd4b0dd89bbca035f68d0
options: get rid of more .cb option usage we don't need

- The lat/bw/iops log does not need two ways of storing whether
  they are enabled or not. Just change the option to a string
  storing variant, and use the existance of a filename to see
  if it's set or not.

- The trim_percentage option need not have a callback, the
  parser knows the limits and can store it appropriately.

- The verify_offset option can express it's minimum value
  directly, it doesn't need a callback to set it on its own.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
cconv.c
init.c
options.c
thread_options.h