X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=ioengine.h;h=0742a8b96753c3bf79edb431c2bd63ee27a46df2;hp=108c97cd0b93a629607d264ca711748967b3b536;hb=effd6ff0d9f701a64d6bc46509eedfdcfd12f553;hpb=e75cc8f3a296fe5910eee9b7f25cc8cb524b4518 diff --git a/ioengine.h b/ioengine.h index 108c97cd..0742a8b9 100644 --- a/ioengine.h +++ b/ioengine.h @@ -215,10 +215,10 @@ extern void fill_io_buffer(struct thread_data *, void *, unsigned int, unsigned extern void io_u_fill_buffer(struct thread_data *td, struct io_u *, unsigned int, unsigned int); void io_u_mark_complete(struct thread_data *, unsigned int); void io_u_mark_submit(struct thread_data *, unsigned int); -int queue_full(struct thread_data *); +int queue_full(const struct thread_data *); -int do_io_u_sync(struct thread_data *, struct io_u *); -int do_io_u_trim(struct thread_data *, struct io_u *); +int do_io_u_sync(const struct thread_data *, struct io_u *); +int do_io_u_trim(const struct thread_data *, struct io_u *); #ifdef FIO_INC_DEBUG static inline void dprint_io_u(struct io_u *io_u, const char *p)