Android: Fix the build of the 'sg' engine
[fio.git] / options.c
index 3b83573bd87e20c42486b4c3598e888d0e83da04..a668b0e475f9f013672a089b289bae410acf796e 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1947,6 +1947,10 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                            .oval = TD_DDIR_TRIMWRITE,
                            .help = "Trim and write mix, trims preceding writes"
                          },
+                         { .ival = "randtrimwrite",
+                           .oval = TD_DDIR_RANDTRIMWRITE,
+                           .help = "Randomly trim and write mix, trims preceding writes"
+                         },
                },
        },
        {
@@ -2140,10 +2144,15 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                            .help = "DAOS File System (dfs) IO engine",
                          },
 #endif
-#ifdef CONFIG_NFS
+#ifdef CONFIG_LIBNFS
                          { .ival = "nfs",
                            .help = "NFS IO engine",
                          },
+#endif
+#ifdef CONFIG_LIBXNVME
+                         { .ival = "xnvme",
+                           .help = "XNVME IO engine",
+                         },
 #endif
                },
        },