Fio 1.17.2
[fio.git] / engines / libaio.c
index f8990c1601ba801309d69e7ef84ceb7bfbfcd71c..8f677115056d2e922bda4eaa5f766423db07b6ec 100644 (file)
@@ -86,6 +86,8 @@ static int fio_libaio_queue(struct thread_data *td, struct io_u *io_u)
 {
        struct libaio_data *ld = td->io_ops->data;
 
+       fio_ro_check(td, io_u);
+
        if (ld->iocbs_nr == (int) td->o.iodepth)
                return FIO_Q_BUSY;