summaryrefslogtreecommitdiffstats
path: root/io_uring/sync.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2024-03-15 15:29:51 +0000
committerSasha Levin <sashal@kernel.org>2024-03-26 18:20:09 -0400
commit4cbc5e93bf6eb238cfaa9b839083cd66d2914ce4 (patch)
tree60b14eb445e8c0cd3a8ca69ddd16aad2fab0b5be /io_uring/sync.h
parent943c14ece95eb1cf98d477462aebcbfdfd714633 (diff)
downloadlinux-stable-4cbc5e93bf6eb238cfaa9b839083cd66d2914ce4.tar.gz
linux-stable-4cbc5e93bf6eb238cfaa9b839083cd66d2914ce4.tar.bz2
linux-stable-4cbc5e93bf6eb238cfaa9b839083cd66d2914ce4.zip
io_uring: fix poll_remove stalled req completion
[ Upstream commit 5e3afe580a9f5ca173a6bd55ffe10948796ef7e5 ] Taking the ctx lock is not enough to use the deferred request completion infrastructure, it'll get queued into the list but no one would expect it there, so it will sit there until next io_submit_flush_completions(). It's hard to care about the cancellation path, so complete it via tw. Fixes: ef7dfac51d8ed ("io_uring/poll: serialize poll linked timer start with poll removal") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/c446740bc16858f8a2a8dcdce899812f21d15f23.1710514702.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'io_uring/sync.h')
0 files changed, 0 insertions, 0 deletions