summaryrefslogtreecommitdiffstats
path: root/arch/c6x/boot
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-02-05 00:48:34 +0100
committerJens Axboe <axboe@kernel.dk>2020-02-05 00:48:34 +0100
commitdf069d80c8e38c19531c392322e9a16617475c44 (patch)
tree714dcb977224e28c8f08af8ed9db505f2226c915 /arch/c6x/boot
parentaio: prevent potential eventfd recursion on poll (diff)
downloadlinux-df069d80c8e38c19531c392322e9a16617475c44.tar.xz
linux-df069d80c8e38c19531c392322e9a16617475c44.zip
io_uring: spin for sq thread to idle on shutdown
As part of io_uring shutdown, we cancel work that is pending and won't necessarily complete on its own. That includes requests like poll commands and timeouts. If we're using SQPOLL for kernel side submission and we shutdown the ring immediately after queueing such work, we can race with the sqthread doing the submission. This means we may miss cancelling some work, which results in the io_uring shutdown hanging forever. Cc: stable@vger.kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/c6x/boot')
0 files changed, 0 insertions, 0 deletions