X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=28a17cf4a20870f6e86c44b68d591e576cbc967e;hp=67d0d2ddb2ad22b8bd5789c9691fb1334476e195;hb=90c0590dd99a84a554cf2d6cad76775928d4249e;hpb=3be8007107a6e4bad3f1b7ea9ea80b51a2dddfc4 diff --git a/options.c b/options.c index 67d0d2dd..28a17cf4 100644 --- a/options.c +++ b/options.c @@ -918,7 +918,7 @@ static struct fio_option options[FIO_MAX_OPTS] = { .type = FIO_OPT_STR_STORE, .off1 = td_var_offset(ioengine), .help = "IO engine to use", - .def = "sync", + .def = FIO_PREFERRED_ENGINE, .posval = { { .ival = "sync", .help = "Use read/write", @@ -1037,6 +1037,7 @@ static struct fio_option options[FIO_MAX_OPTS] = { }, { .name = "fill_device", + .alias = "fill_fs", .type = FIO_OPT_BOOL, .off1 = td_var_offset(fill_device), .help = "Write until an ENOSPC error occurs", @@ -1114,6 +1115,14 @@ static struct fio_option options[FIO_MAX_OPTS] = { .def = "1", .parent = "rw", }, + { + .name = "use_os_rand", + .type = FIO_OPT_BOOL, + .off1 = td_var_offset(use_os_rand), + .help = "Set to use OS random generator", + .def = "0", + .parent = "rw", + }, { .name = "norandommap", .type = FIO_OPT_STR_SET,