hugepage_size in thread_options is of type int, but listed in
options.c as type long. This patch reconciles the two.
Signed-off-by: Aaron Carroll <aaronc_at_gelato.unsw.edu.au>
--- options.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/options.c b/options.c index b59dd22..1119a98 100644 --- a/options.c +++ b/options.c @@ -1118,7 +1118,7 @@ static struct fio_option options[] = { }, { .name = "hugepage-size", - .type = FIO_OPT_STR_VAL, + .type = FIO_OPT_STR_VAL_INT, .off1 = td_var_offset(hugepage_size), .help = "When using hugepages, specify size of each page", .def = __stringify(FIO_HUGE_PAGE),Received on Tue Feb 19 2008 - 23:20:11 CET
This archive was generated by hypermail 2.2.0 : Tue Feb 19 2008 - 23:30:01 CET