X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=ioengine.h;h=9c0ed9a954077980aebf30d1e0bd954d9bf2324c;hp=18496c3afc860aab452d9a1ce4dcba8344fd7b94;hb=581e71417760e0aa86eac0acd704253ff0eeea4f;hpb=7c8f1a5ce2ecde0ef8372e983895855ac838c76c diff --git a/ioengine.h b/ioengine.h index 18496c3a..9c0ed9a9 100644 --- a/ioengine.h +++ b/ioengine.h @@ -140,8 +140,8 @@ extern struct io_u *__get_io_u(struct thread_data *); extern struct io_u *get_io_u(struct thread_data *); extern void put_io_u(struct thread_data *, struct io_u *); extern void requeue_io_u(struct thread_data *, struct io_u **); -extern long __must_check io_u_sync_complete(struct thread_data *, struct io_u *); -extern long __must_check io_u_queued_complete(struct thread_data *, int); +extern int __must_check io_u_sync_complete(struct thread_data *, struct io_u *, unsigned long *); +extern int __must_check io_u_queued_complete(struct thread_data *, int, unsigned long *); extern void io_u_queued(struct thread_data *, struct io_u *); extern void io_u_log_error(struct thread_data *, struct io_u *); extern void io_u_mark_depth(struct thread_data *, unsigned int);