Conflicts:
fio.c
Signed-off-by: Jens Axboe <axboe@kernel.dk>
verify_async_exit(td);
close_and_free_files(td);
- close_ioengine(td);
cleanup_io_u(td);
+ close_ioengine(td);
cgroup_shutdown(td, &cgroup_mnt);
- if (td->o.cpumask_set) {
- int ret = fio_cpuset_exit(&td->o.cpumask);
+ if (o->cpumask_set) {
+ int ret = fio_cpuset_exit(&o->cpumask);
td_verror(td, ret, "fio_cpuset_exit");
}
if (parse_options(argc, argv))
return 1;
- if (nr_clients)
- return fio_handle_clients();
- else
+ fio_time_init();
+
+ if (nr_clients) {
+ if (fio_start_all_clients())
+ return 1;
+ return fio_handle_clients(&fio_client_ops);
+ } else
return fio_backend();
}