diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-07-10 02:45:59 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-07-11 16:39:06 -0600 |
commit | 9c6882608bce249a8918744ecdb65748534e3f17 (patch) | |
tree | ad4c2a2844cd616dc4246c18444dab33d2c1606f /fs/nls | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) |
io_uring: use right task for exiting checks
When we use delayed_work for fallback execution of requests, current
will be not of the submitter task, and so checks in io_req_task_submit()
may not behave as expected. Currently, it leaves inline completions not
flushed, so making io_ring_exit_work() to hang. Use the submitter task
for all those checks.
Cc: stable@vger.kernel.org
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/cb413c715bed0bc9c98b169059ea9c8a2c770715.1625881431.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nls')
0 files changed, 0 insertions, 0 deletions