X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fio.h;h=1b43151d12a75ef410bc4547187a1dfac8b522a0;hb=e7d2e61694c62b90a2fb84c012b4edcc1973d72c;hp=7a0f56d3af6f5c7036a719db03b5bc61981c5bc4;hpb=4a88edf731f806974124e68d66726715dbee6778;p=fio.git diff --git a/fio.h b/fio.h index 7a0f56d3..1b43151d 100644 --- a/fio.h +++ b/fio.h @@ -883,7 +883,7 @@ extern int __must_check td_io_init(struct thread_data *); extern int __must_check td_io_prep(struct thread_data *, struct io_u *); extern int __must_check td_io_queue(struct thread_data *, struct io_u *); extern int __must_check td_io_sync(struct thread_data *, struct fio_file *); -extern int __must_check td_io_getevents(struct thread_data *, int, int, struct timespec *); +extern int __must_check td_io_getevents(struct thread_data *, unsigned int, unsigned int, struct timespec *); extern int __must_check td_io_commit(struct thread_data *); extern int __must_check td_io_open_file(struct thread_data *, struct fio_file *); extern void td_io_close_file(struct thread_data *, struct fio_file *); @@ -920,7 +920,7 @@ struct ioengine_ops { int (*prep)(struct thread_data *, struct io_u *); int (*queue)(struct thread_data *, struct io_u *); int (*commit)(struct thread_data *); - int (*getevents)(struct thread_data *, int, int, struct timespec *); + int (*getevents)(struct thread_data *, unsigned int, unsigned int, struct timespec *); struct io_u *(*event)(struct thread_data *, int); int (*cancel)(struct thread_data *, struct io_u *); void (*cleanup)(struct thread_data *);