Introduce enum fio_q_status
[fio.git] / engines / rbd.c
index 6582b06d287825a605780153ca3fa7bcd88af8a4..cf7337f00745198f21cd23379ea3362c8e6ee3cd 100644 (file)
@@ -462,7 +462,8 @@ static int fio_rbd_getevents(struct thread_data *td, unsigned int min,
        return events;
 }
 
-static int fio_rbd_queue(struct thread_data *td, struct io_u *io_u)
+static enum fio_q_status
+fio_rbd_queue(struct thread_data *td, struct io_u *io_u)
 {
        struct rbd_data *rbd = td->io_ops_data;
        struct fio_rbd_iou *fri = io_u->engine_data;