workqueue: remove knowledge of td queue state
authorJens Axboe <axboe@fb.com>
Tue, 8 Dec 2015 05:35:31 +0000 (22:35 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 8 Dec 2015 05:35:31 +0000 (22:35 -0700)
commit5bb79f69c2d9dc8542c25af96f040d1884230688
treedfb76d8ad6163288c9030277d76d0395ea22ab13
parent882718418309228b28146dc03d43c9253c7cfb35
workqueue: remove knowledge of td queue state

Add pre sleep checker and worker ops, so we can push this to the
owner of the workqueue.

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