X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=754eb81fccfe1a14f6949f30d07475ea09acc834;hp=bbb30990d28ba06955ea458a3b809f463a41e79c;hb=e9459e5a14b577ead39d666c051c7ce4db12bc75;hpb=fafdba3c553305dd8c6b24f8d5ba95a55dee4d48 diff --git a/options.c b/options.c index bbb30990..754eb81f 100644 --- a/options.c +++ b/options.c @@ -531,8 +531,20 @@ static struct fio_option options[] = { .oval = VERIFY_MD5, .help = "Use md5 checksums for verification", }, + { + .ival = "null", + .oval = VERIFY_NULL, + .help = "Pretend to verify", + }, }, }, + { + .name = "verifysort", + .type = FIO_OPT_BOOL, + .off1 = td_var_offset(verifysort), + .help = "Sort written verify blocks for read back", + .def = "1", + }, { .name = "write_iolog", .type = FIO_OPT_STR_STORE, @@ -814,6 +826,12 @@ static struct fio_option options[] = { .off1 = td_var_offset(group_reporting), .help = "Do reporting on a per-group basis", }, + { + .name = "zero_buffers", + .type = FIO_OPT_STR_SET, + .off1 = td_var_offset(zero_buffers), + .help = "Init IO buffers to all zeroes", + }, { .name = NULL, }, @@ -896,7 +914,9 @@ void options_mem_dupe(struct thread_data *td) __options_mem(td, 1); } -void options_mem_free(struct thread_data *td) +void options_mem_free(struct thread_data fio_unused *td) { +#if 0 __options_mem(td, 0); +#endif }