aboutsummaryrefslogtreecommitdiff
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorGravatar Pavel Begunkov <asml.silence@gmail.com> 2020-03-03 21:33:13 +0300
committerGravatar Jens Axboe <axboe@kernel.dk> 2020-03-03 20:02:49 -0700
commit7a743e225b2a9da772b28a50031e1ccd8a8ce404 (patch)
tree93040486f98e7ace0000767e50d7afe38a9d073c /fs/io-wq.c
parentio_uring: remove @nxt from handlers (diff)
downloadlinux-7a743e225b2a9da772b28a50031e1ccd8a8ce404.tar.gz
linux-7a743e225b2a9da772b28a50031e1ccd8a8ce404.tar.bz2
linux-7a743e225b2a9da772b28a50031e1ccd8a8ce404.zip
io_uring: get next work with submission ref drop
If after dropping the submission reference req->refs == 1, the request is done, because this one is for io_put_work() and will be dropped synchronously shortly after. In this case it's safe to steal a next work from the request. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions