move skip_bad= option to engines/mtd.c
authorTomohiro Kusumi <tkusumi@tuxera.com>
Mon, 7 Aug 2017 17:37:54 +0000 (20:37 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Aug 2017 18:30:58 +0000 (12:30 -0600)
commite59b9e111792bd0f5f807ed2466cf1904b5f1379
treeda4c228822ac7d9f1392d3a75328d05489721dba
parent589e88b7d96e8ea18f3257558fd1e00d320cef7d
move skip_bad= option to engines/mtd.c

This is ioengine specific, thus should be defined in engines/mtd.c.

This option is useless unless engines/mtd.c is enabled.
It could be conditionally compiled using CONFIG_MTD, but all
other ioengines define their own option structure in their code.

The only functional difference is that now .category is changed
to FIO_OPT_C_ENGINE. This is also something done by all other
ioengine specific options, though ->category isn't really used
for anything meaningfull.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
cconv.c
engines/mtd.c
options.c
thread_options.h