X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=options.c;h=8193fb29fe2b1cdfab8e745b9522aeb507f5361e;hb=fb551941e7b74e484ccdee863cde84ea1ef4bcbe;hp=fe580ebb9d8f9d31ac7bb7ccdb5c872bea310ef1;hpb=eb314e7072a056b13c28bcb785f51b35c67fd1e6;p=fio.git diff --git a/options.c b/options.c index fe580ebb..8193fb29 100644 --- a/options.c +++ b/options.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include @@ -2464,6 +2465,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { }, { .name = "randrepeat", + .alias = "allrandrepeat", .lname = "Random repeatable", .type = FIO_OPT_BOOL, .off1 = offsetof(struct thread_options, rand_repeatable), @@ -2593,16 +2595,6 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .category = FIO_OPT_C_IO, .group = FIO_OPT_G_RANDOM, }, - { - .name = "allrandrepeat", - .lname = "All Random Repeat", - .type = FIO_OPT_BOOL, - .off1 = offsetof(struct thread_options, allrand_repeatable), - .help = "Use repeatable random numbers for everything", - .def = "0", - .category = FIO_OPT_C_IO, - .group = FIO_OPT_G_RANDOM, - }, { .name = "nrfiles", .lname = "Number of files", @@ -2740,10 +2732,12 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .oval = F_ADV_SEQUENTIAL, .help = "Advise using FADV_SEQUENTIAL", }, +#ifdef POSIX_FADV_NOREUSE { .ival = "noreuse", .oval = F_ADV_NOREUSE, .help = "Advise using FADV_NOREUSE", }, +#endif }, .help = "Use fadvise() to advise the kernel on IO pattern", .def = "1",