projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
appveyor: make test artifacts available for inspection
[fio.git]
/
optgroup.c
diff --git
a/optgroup.c
b/optgroup.c
index 1c418f5aa36f06064118f515e487de570b8c0cf8..c228ff292c542055459e34d89e06c58731af3e7b 100644
(file)
--- a/
optgroup.c
+++ b/
optgroup.c
@@
-169,6
+169,10
@@
static const struct opt_group fio_opt_cat_groups[] = {
.name = "libhdfs I/O engine", /* libhdfs */
.mask = FIO_OPT_G_HDFS,
},
.name = "libhdfs I/O engine", /* libhdfs */
.mask = FIO_OPT_G_HDFS,
},
+ {
+ .name = "NBD I/O engine", /* NBD */
+ .mask = FIO_OPT_G_NBD,
+ },
{
.name = NULL,
},
{
.name = NULL,
},
@@
-202,7
+206,8
@@
const struct opt_group *opt_group_from_mask(uint64_t *mask)
const struct opt_group *opt_group_cat_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);
}
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");