]> git.baikalelectronics.ru Git - 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)
commitb97ed435ed4ec0847142d930479afbea5c0e19f5
treef7f62ee8c420fb06a0dd0eb7f50f122c4a5b4384
parent05b1d7b362985d9ab39edadcf51a2f7902c71247
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