Merge branch 'fix_filename_overrun' of https://github.com/sitsofe/fio
[fio.git] / optgroup.c
index 1c418f5aa36f06064118f515e487de570b8c0cf8..647748963193db4db016b2befde7fa2ec4f3a758 100644 (file)
@@ -169,6 +169,14 @@ static const struct opt_group fio_opt_cat_groups[] = {
                .name   = "libhdfs I/O engine", /* libhdfs */
                .mask   = FIO_OPT_G_HDFS,
        },
+       {
+               .name   = "NBD I/O engine", /* NBD */
+               .mask   = FIO_OPT_G_NBD,
+       },
+       {
+               .name   = "libcufile I/O engine", /* libcufile */
+               .mask   = FIO_OPT_G_LIBCUFILE,
+       },
        {
                .name   = NULL,
        },
@@ -202,7 +210,8 @@ const struct opt_group *opt_group_from_mask(uint64_t *mask)
 
 const struct opt_group *opt_group_cat_from_mask(uint64_t *mask)
 {
+       compiletime_assert(__FIO_OPT_G_NR <= 8 * sizeof(uint64_t),
+                               "__FIO_OPT_G_NR");
+
        return group_from_mask(fio_opt_cat_groups, mask, FIO_OPT_G_INVALID);
 }
-
-compiletime_assert(__FIO_OPT_G_NR <= 8 * sizeof(uint64_t), "__FIO_OPT_G_NR");