X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=io_u_queue.h;h=87de894a525a8e19cfd270fa94c8b1ff4141a7b5;hp=545e2c41fa5f3db673ceb6e4289d43413a1c6bbf;hb=298d751e5f7dcde630d90a38f9ad5ab6670483a1;hpb=3d2d14bcb844e72809192311369a642c5d415472 diff --git a/io_u_queue.h b/io_u_queue.h index 545e2c41..87de894a 100644 --- a/io_u_queue.h +++ b/io_u_queue.h @@ -45,8 +45,8 @@ static inline int io_u_qempty(const struct io_u_queue *q) #define io_u_qiter(q, io_u, i) \ for (i = 0; i < (q)->nr && (io_u = (q)->io_us[i]); i++) -bool io_u_qinit(struct io_u_queue *q, unsigned int nr); -void io_u_qexit(struct io_u_queue *q); +bool io_u_qinit(struct io_u_queue *q, unsigned int nr, bool shared); +void io_u_qexit(struct io_u_queue *q, bool shared); struct io_u_ring { unsigned int head;