options: make the groups/categories constant
[fio.git] / engines / libaio.c
index 9685c99d84ec9d1705f4f8515ec3906dd4a1c2e3..60dc49d3352a950fa522931ccdfe52a601628975 100644 (file)
@@ -146,7 +146,7 @@ static int fio_libaio_getevents(struct thread_data *td, unsigned int min,
 {
        struct libaio_data *ld = td->io_ops->data;
        struct libaio_options *o = td->eo;
-       unsigned actual_min = td->o.iodepth_batch_complete == 0 ? 0 : min;
+       unsigned actual_min = td->o.iodepth_batch_complete_min == 0 ? 0 : min;
        struct timespec __lt, *lt = NULL;
        int r, events = 0;