diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-03-03 21:33:13 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-03 20:02:49 -0700 |
commit | 7a743e225b2a9da772b28a50031e1ccd8a8ce404 (patch) | |
tree | 93040486f98e7ace0000767e50d7afe38a9d073c /fs/io-wq.c | |
parent | 014db0073cc6a12e1f421b9231d6f3aa35735823 (diff) | |
download | linux-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