- fio_mutex_down(writeout_mutex);
- if (td->bw_log) {
- if (td->o.bw_log_file) {
- finish_log_named(td, td->bw_log,
- td->o.bw_log_file, "bw");
- } else
- finish_log(td, td->bw_log, "bw");
- }
- if (td->lat_log) {
- if (td->o.lat_log_file) {
- finish_log_named(td, td->lat_log,
- td->o.lat_log_file, "lat");
- } else
- finish_log(td, td->lat_log, "lat");
- }
- if (td->slat_log) {
- if (td->o.lat_log_file) {
- finish_log_named(td, td->slat_log,
- td->o.lat_log_file, "slat");
- } else
- finish_log(td, td->slat_log, "slat");
- }
- if (td->clat_log) {
- if (td->o.lat_log_file) {
- finish_log_named(td, td->clat_log,
- td->o.lat_log_file, "clat");
- } else
- finish_log(td, td->clat_log, "clat");
- }
- if (td->iops_log) {
- if (td->o.iops_log_file) {
- finish_log_named(td, td->iops_log,
- td->o.iops_log_file, "iops");
- } else
- finish_log(td, td->iops_log, "iops");
- }