io_uring: remove the need for relying on an io-wq fallback worker
authorJens Axboe <axboe@kernel.dk>
Tue, 16 Feb 2021 14:17:00 +0000 (07:17 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Feb 2021 00:25:22 +0000 (17:25 -0700)
commit7c25c0d16ef3c37e49c593ac92f69fa3884d4bb9
tree2fe3fa25ca066312bf514c8e34fba0575db99af7
parent27131549060ee87f1c50c56539b8f6c4c1a4acec
io_uring: remove the need for relying on an io-wq fallback worker

We hit this case when the task is exiting, and we need somewhere to
do background cleanup of requests. Instead of relying on the io-wq
task manager to do this work for us, just stuff it somewhere where
we can safely run it ourselves directly.

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