[PATCH 0/2] io-wq sharing

From: Pavel Begunkov
Date: Mon Jan 27 2020 - 19:07:44 EST


rip-off of Jens io-wq sharing patches allowing multiple io_uring
instances to be bound to a single io-wq. The differences are:
- io-wq, which we would like to be shared, is passed as io_uring fd
- fail, if can't share. IMHO, it's always better to fail fast and loud

I didn't tested it after rebasing, but hopefully won't be a problem.

p.s. on top of ("io_uring/io-wq: don't use static creds/mm assignments")

Pavel Begunkov (2):
io-wq: allow grabbing existing io-wq
io_uring: add io-wq workqueue sharing

fs/io-wq.c | 10 ++++++
fs/io-wq.h | 1 +
fs/io_uring.c | 67 +++++++++++++++++++++++++++--------
include/uapi/linux/io_uring.h | 4 ++-
4 files changed, 67 insertions(+), 15 deletions(-)

--
2.24.0