+
+static struct io_u *fio_null_event(struct thread_data *td, int event)
+{
+ return null_event(td->io_ops_data, event);
+}
+
+static int fio_null_getevents(struct thread_data *td, unsigned int min_events,
+ unsigned int max, const struct timespec *t)
+{
+ struct null_data *nd = td->io_ops_data;
+ return null_getevents(nd, min_events, max, t);
+}
+
+static int fio_null_commit(struct thread_data *td)
+{
+ return null_commit(td, td->io_ops_data);
+}
+
+static enum fio_q_status fio_null_queue(struct thread_data *td,
+ struct io_u *io_u)
+{
+ return null_queue(td, td->io_ops_data, io_u);
+}
+
+static int fio_null_open(struct thread_data *td, struct fio_file *f)
+{
+ return null_open(td->io_ops_data, f);
+}
+
+static void fio_null_cleanup(struct thread_data *td)
+{
+ null_cleanup(td->io_ops_data);
+}
+
+static int fio_null_init(struct thread_data *td)
+{
+ td->io_ops_data = null_init(td);
+ assert(td->io_ops_data);
+ return 0;
+}
+