X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=workqueue.h;h=1961b2ae8b631eba3d70b5e791e5b6f387a429d0;hb=c0d3245a097f41441def6f912b79558cfb6dcf34;hp=46a3979fde6190cc5d23603703334158f1267cf0;hpb=26de50cf42e452f2f0bc7dde9faca18fd9976991;p=fio.git diff --git a/workqueue.h b/workqueue.h index 46a3979f..1961b2ae 100644 --- a/workqueue.h +++ b/workqueue.h @@ -17,6 +17,7 @@ struct submit_worker { uint64_t seq; struct workqueue *wq; void *private; + struct sk_out *sk_out; }; typedef int (workqueue_work_fn)(struct submit_worker *, struct workqueue_work *); @@ -60,7 +61,7 @@ struct workqueue { volatile int wake_idle; }; -int workqueue_init(struct thread_data *td, struct workqueue *wq, struct workqueue_ops *ops, unsigned int max_workers); +int workqueue_init(struct thread_data *td, struct workqueue *wq, struct workqueue_ops *ops, unsigned int max_workers, struct sk_out *sk_out); void workqueue_exit(struct workqueue *wq); void workqueue_enqueue(struct workqueue *wq, struct workqueue_work *work);