]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
io_uring: disable io-wq attaching
authorJens Axboe <axboe@kernel.dk>
Tue, 16 Feb 2021 18:41:41 +0000 (11:41 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Feb 2021 00:25:22 +0000 (17:25 -0700)
commitd25e3a3de0d6fb2f660dbc7d643b2c632beb1743
treef7f62ee8c420fb06a0dd0eb7f50f122c4a5b4384
parent1cbd9c2bcf02a3be91e14c7206d4b6c0346540ed
io_uring: disable io-wq attaching

Moving towards making the io_wq per ring per task, so we can't really
share it between rings. Which is fine, since we've now dropped some
of that fat from it.

Retain compatibility with how attaching works, so that any attempt to
attach to an fd that doesn't exist, or isn't an io_uring fd, will fail
like it did before.

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