X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=init.c;h=261e02e1fb673ee8db30e0b7eff34843dda03a67;hp=8c9faec22f2cb5a67150d1264d600be1cdf709a9;hb=f6e7d776d102b98702382cad02602235a2491e71;hpb=812409e9486a37ba2f51e6e23c97e6ae8e26ff9a diff --git a/init.c b/init.c index 8c9faec2..261e02e1 100644 --- a/init.c +++ b/init.c @@ -860,12 +860,7 @@ static int add_job(struct thread_data *td, const char *jobname, int job_add_num, if (is_backend && !recursed) fio_server_send_add_job(td); - if (!strcmp(td->io_ops->name, "cpuio")) { - log_info("%s: ioengine=cpu, cpuload=%u," - " cpucycle=%u\n", td->o.name, - td->o.cpuload, - td->o.cpucycle); - } else { + if (!(td->io_ops->flags & FIO_NOIO)) { char *c1, *c2, *c3, *c4; c1 = fio_uint_to_kmg(td->o.min_bs[DDIR_READ]); @@ -1703,3 +1698,8 @@ int parse_options(int argc, char *argv[]) return 0; } + +void options_default_fill(struct thread_options *o) +{ + memcpy(o, &def_thread.o, sizeof(*o)); +}