]> 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)
commit7b3e02c98ec6e70db0bea0d93e6142f818a2211a
treee93af2b4339642d4ac4d1090c523d0aae58a3889
parentf303af07ef230df2b4cf698d4720d4c3a0e5e4c7
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