Allow marking of queue depth for more than 1 io_u at the time
[fio.git] / ioengines.c
index e44fce08b51065cf4d6ad9feaf87f6878ee4ff25..984c01ac7e6442a99868ee03388a684c654318e8 100644 (file)
@@ -238,7 +238,7 @@ int td_io_queue(struct thread_data *td, struct io_u *io_u)
        unlock_file(td, io_u->file);
 
        if (ret != FIO_Q_BUSY)
-               io_u_mark_depth(td, io_u);
+               io_u_mark_depth(td, io_u, 1);
 
        if (ret == FIO_Q_QUEUED) {
                int r;