Move thread options into a seperate structure
[fio.git] / ioengines.c
index b18bc9a2010efe7cd22cf5993e1e11d492976c35..0e5ea62d0d5cb59d62c5e8929d13a7b9526e40b0 100644 (file)
@@ -215,7 +215,7 @@ int td_io_queue(struct thread_data *td, struct io_u *io_u)
                int r;
 
                td->io_u_queued++;
-               if (td->io_u_queued > td->iodepth_batch) {
+               if (td->io_u_queued > td->o.iodepth_batch) {
                        r = td_io_commit(td);
                        if (r < 0)
                                return r;