X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=4f30f2c1991aaf8769e2802d4dceef7cb0d83a34;hp=6a015c0d7d167e588955d45fc1e76983fad3b6ef;hb=d2f3ac3592a5674fefa082cb439cc72355d2fed0;hpb=a3dc65e515943b3a292261ba95d643457863d93d diff --git a/options.c b/options.c index 6a015c0d..4f30f2c1 100644 --- a/options.c +++ b/options.c @@ -246,6 +246,13 @@ static struct fio_option options[] = { }, }, }, + { + .name = "fadvise_hint", + .type = FIO_OPT_BOOL, + .off1 = td_var_offset(fadvise_hint), + .help = "Use fadvise() to advise the kernel on IO pattern", + .def = "1", + }, { .name = "ioengine", .type = FIO_OPT_STR_STORE,