Pavel Begunkov f5fa38c59c io_wq: add per-wq work handler instead of per work
io_uring is the only user of io-wq, and now it uses only io-wq callback
for all its requests, namely io_wq_submit_work(). Instead of storing
work->runner callback in each instance of io_wq_work, keep it in io-wq
itself.

pros:
- reduces io_wq_work size
- more robust -- ->func won't be invalidated with mem{cpy,set}(req)
- helps other work

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-06-08 13:47:37 -06:00
..
2020-03-27 09:29:56 +00:00
2020-06-01 12:10:17 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 10:59:07 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-05-14 16:44:24 +02:00
2020-06-02 15:37:03 -07:00
2020-05-14 16:44:25 +02:00
2020-06-02 15:29:19 -07:00
2020-04-20 15:45:41 -06:00
2020-06-02 15:42:50 -07:00
2020-03-05 21:00:40 -05:00
2020-05-14 16:44:24 +02:00
2020-03-12 17:33:11 -07:00
2020-05-14 16:44:24 +02:00
2020-06-02 15:42:50 -07:00
2020-06-02 15:42:50 -07:00
2020-06-02 15:29:19 -07:00
2020-05-14 16:44:24 +02:00
2020-04-09 15:33:09 -04:00