io_uring: use private workqueue for exit work
authorJens Axboe <axboe@kernel.dk>
Mon, 1 Apr 2024 21:16:19 +0000 (15:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Apr 2024 13:35:16 +0000 (07:35 -0600)
commit73eaa2b583493b680c6f426531d6736c39643bfb
tree3bbb9afd90478151a3005fb1227ba3d510b41f80
parentbee1d5becdf5bf23d4ca0cd9c6b60bdf3c61d72b
io_uring: use private workqueue for exit work

Rather than use the system unbound event workqueue, use an io_uring
specific one. This avoids dependencies with the tty, which also uses
the system_unbound_wq, and issues flushes of said workqueue from inside
its poll handling.

Cc: stable@vger.kernel.org
Reported-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Tested-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Tested-by: Iskren Chernev <me@iskren.info>
Link: https://github.com/axboe/liburing/issues/1113
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c