+ if (td->io_ops->flags & FIO_SYNCIO)
+ return FIO_Q_COMPLETED;
+ if (nd->events)
+ return FIO_Q_BUSY;
+
+ nd->io_us[nd->queued++] = io_u;
+ return FIO_Q_QUEUED;
+}
+
+static int fio_null_setup(struct thread_data *td)
+{
+ struct fio_file *f;
+ unsigned int i;
+
+ for_each_file(td, f, i) {
+ if (td->o.size)
+ f->real_file_size = td->o.size / td->o.nr_files;
+ else
+ f->real_file_size = -1ULL;
+ }
+
+ return 0;
+}
+
+static int fio_null_open(struct thread_data fio_unused *td,
+ struct fio_file fio_unused *f)
+{