io-wq: remove worker->wait waitqueue
authorJens Axboe <axboe@kernel.dk>
Sun, 8 Dec 2019 04:03:59 +0000 (21:03 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Dec 2019 23:33:22 +0000 (16:33 -0700)
commit506d95ff5d6aa0a099a116c49d3884e29801d843
treeaf3a2a77e277a3ad4cda2075dfd70827e468c47e
parent4e88d6e7793f2f445f43bd608828541d7f43b608
io-wq: remove worker->wait waitqueue

We only have one cases of using the waitqueue to wake the worker, the
rest are using wake_up_process(). Since we can save some cycles not
fiddling with the waitqueue io_wqe_worker(), switch the work activation
to task wakeup and get rid of the now unused wait_queue_head_t in
struct io_worker.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c