X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=9700110983cc6d04ff4ebc4e356fab10ef2e2cee;hp=cec7bb79d2422b19f79df258b784c0ab033fbc4b;hb=99a47c6905731e53dd4d8f7ea6501f36d9329e7b;hpb=a086c25771b195d04651d293f299f0a63f7d2a23 diff --git a/options.c b/options.c index cec7bb79..97001109 100644 --- a/options.c +++ b/options.c @@ -792,6 +792,16 @@ static struct fio_option options[] = { .def = "4k", .parent = "rw", }, + { + .name = "ba", + .alias = "blockalign", + .type = FIO_OPT_STR_VAL_INT, + .off1 = td_var_offset(ba[DDIR_READ]), + .off2 = td_var_offset(ba[DDIR_WRITE]), + .minval = 1, + .help = "IO block offset alignment", + .parent = "rw", + }, { .name = "bsrange", .alias = "blocksize_range", @@ -1289,6 +1299,13 @@ static struct fio_option options[] = { .help = "Fsync file after creation", .def = "1", }, + { + .name = "create_on_open", + .type = FIO_OPT_BOOL, + .off1 = td_var_offset(create_on_open), + .help = "Create files when they are opened for IO", + .def = "0", + }, { .name = "cpuload", .type = FIO_OPT_INT,