commit | 7a743e225b2a9da772b28a50031e1ccd8a8ce404 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Mar 03 21:33:13 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Mar 03 20:02:49 2020 -0700 |
tree | 93040486f98e7ace0000767e50d7afe38a9d073c | |
parent | 014db0073cc6a12e1f421b9231d6f3aa35735823 [diff] |
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>