struct null_data *nd = td->io_ops->data;
if (!nd->events) {
+ io_u_mark_submit(td, nd->queued);
nd->events = nd->queued;
nd->queued = 0;
}
return 0;
}
-static int fio_null_queue(struct thread_data fio_unused *td, struct io_u *io_u)
+static int fio_null_queue(struct thread_data *td, struct io_u *io_u)
{
struct null_data *nd = td->io_ops->data;
if (nd->io_us)
free(nd->io_us);
free(nd);
- td->io_ops->data = NULL;
}
}