With the new option scheme, it's easier to just diff out the option
types we don't support. So do that for the io engines.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
.help = "IO engine to use",
.def = "sync",
.posval = {
.help = "IO engine to use",
.def = "sync",
.posval = {
- { .ival = "sync", }, { .ival = "libaio", },
- { .ival = "posixaio", }, { .ival = "mmap", },
- { .ival = "splice", }, { .ival = "sg", },
+ { .ival = "sync", },
+#ifdef FIO_HAVE_LIBAIO
+ { .ival = "libaio", },
+#endif
+#ifdef FIO_HAVE_POSIXAIO
+ { .ival = "posixaio", },
+#endif
+ { .ival = "mmap", },
+#ifdef FIO_HAVE_SPLICE
+ { .ival = "splice", },
+#endif
+#ifdef FIO_HAVE_SGIO
+ { .ival = "sg", },
+#endif
{ .ival = "null", }, { .ival = "net", },
{ .ival = "null", }, { .ival = "net", },
{ .ival = "syslet-rw", },
{ .ival = "syslet-rw", },