summaryrefslogtreecommitdiffstats
path: root/fs/nfs_common
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-20 13:05:32 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-25 19:56:10 -0700
commitb76da70fc3759df13e0991706451f1a2e06ba19e (patch)
treed4524d43a2ed92ccfec694ab2db3807a8985ef88 /fs/nfs_common
parent4d7dd462971405c65bfb3821dbb6b9ce13b5e8d6 (diff)
downloadlinux-stable-b76da70fc3759df13e0991706451f1a2e06ba19e.tar.gz
linux-stable-b76da70fc3759df13e0991706451f1a2e06ba19e.tar.bz2
linux-stable-b76da70fc3759df13e0991706451f1a2e06ba19e.zip
io_uring: close lookup gap for dependent next work
When we find new work to process within the work handler, we queue the linked timeout before we have issued the new work. This can be problematic for very short timeouts, as we have a window where the new work isn't visible. Allow the work handler to store a callback function for this in the work item, and flag it with IO_WQ_WORK_CB if the caller has done so. If that is set, then io-wq will call the callback when it has setup the new work item. Reported-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nfs_common')
0 files changed, 0 insertions, 0 deletions