workqueue: add a workqueue_work type
authorJens Axboe <axboe@fb.com>
Tue, 8 Dec 2015 05:20:02 +0000 (22:20 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 8 Dec 2015 05:20:02 +0000 (22:20 -0700)
commit882718418309228b28146dc03d43c9253c7cfb35
treecba0a5e6ada30c23afb423c60090f79b32feff96
parentb07f6ad1ff4a22c12f9de2592ee35607bf45105f
workqueue: add a workqueue_work type

Don't pass in a struct io_u, that's specific to the use case of
using this for queueing IO. Use a generic work type, so we can reuse
this helper code for other purposes.

Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c
ioengine.h
workqueue.c
workqueue.h