commit | 4493233edcfc0ad0a7f76f1c83f95b1bcf280547 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Dec 05 16:16:35 2019 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Dec 05 06:54:52 2019 -0700 |
tree | 0913f70eb34b9be0a43af379dd2b03df164a9b6f | |
parent | 2e6e1fde32d7d41cf076c21060c329d3fdbce25c [diff] |
io_uring: hook all linked requests via link_list Links are created by chaining requests through req->list with an exception that head uses req->link_list. (e.g. link_list->list->list) Because of that, io_req_link_next() needs complex splicing to advance. Link them all through list_list. Also, it seems to be simpler and more consistent IMHO. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>