Pavel Begunkov 24369c2e3b io_uring: add io-wq workqueue sharing
If IORING_SETUP_ATTACH_WQ is set, it expects wq_fd in io_uring_params to
be a valid io_uring fd io-wq of which will be shared with the newly
created io_uring instance. If the flag is set but it can't share io-wq,
it fails.

This allows creation of "sibling" io_urings, where we prefer to keep the
SQ/CQ private, but want to share the async backend to minimize the amount
of overhead associated with having multiple rings that belong to the same
backend.

Reported-by: Jens Axboe <axboe@kernel.dk>
Reported-by: Daurnimator <quae@daurnimator.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-01-28 17:44:41 -07:00
..
2019-09-27 15:10:34 -07:00
2020-01-17 11:21:05 -08:00
2019-09-19 09:42:37 -07:00
2019-12-09 10:36:44 -08:00
2019-07-12 17:37:53 -07:00
2019-12-11 12:25:32 -08:00
2019-11-11 09:21:59 -05:00
\n
2019-11-30 11:16:07 -08:00
2019-12-05 13:20:11 -08:00
2019-09-19 09:42:37 -07:00
2019-09-19 09:42:37 -07:00
2019-12-14 11:13:54 -08:00
2019-09-19 09:42:37 -07:00
2019-12-09 10:36:44 -08:00
2019-12-01 14:00:59 -08:00
2019-12-02 14:46:22 -08:00
2019-11-30 10:44:49 -08:00
2019-08-07 21:51:47 -04:00
2020-01-28 17:44:40 -07:00
2020-01-28 17:44:40 -07:00
2019-12-02 14:46:22 -08:00
2019-10-14 15:04:01 -07:00