td->io_hist_len--;
}
-void trim_io_piece(struct thread_data *td, const struct io_u *io_u)
+void trim_io_piece(const struct io_u *io_u)
{
struct io_piece *ipo = io_u->ipo;
} else if (td->o.write_iolog_file)
ret = init_iolog_write(td);
else
- ret = false;
+ ret = true;
if (!ret)
td_verror(td, EINVAL, "failed initializing iolog");