]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: clean R_DISABLED startup mess
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 8 Mar 2021 13:20:57 +0000 (13:20 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Mar 2021 14:28:42 +0000 (07:28 -0700)
commitcde96201f60aa47b12419b077450c415c557b5be
treee93af2b4339642d4ac4d1090c523d0aae58a3889
parentfc1089f72c209c1e95a43bd37d24c32d4c336b96
io_uring: clean R_DISABLED startup mess

There are enough of problems with IORING_SETUP_R_DISABLED, including the
burden of checking and kicking off the SQO task all over the codebase --
for exit/cancel/etc.

Rework it, always start the thread but don't do submit unless the flag
is gone, that's much easier.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c