commit | de59bc104c24f2e8637464a9e3ebbd8fd4c0f115 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Feb 18 18:29:47 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 18 13:13:18 2021 -0700 |
tree | e50d91d584f64151da3a12f2e372fb748986410e | |
parent | 1ee43ba8d267b5e6729c45b8756263f69c2978cc [diff] |
io_uring: fail links more in io_submit_sqe() Instead of marking a link with REQ_F_FAIL_LINK on an error and delaying its failing to the caller, do it eagerly right when after getting an error in io_submit_sqe(). This renders FAIL_LINK checks in io_queue_link_head() useless and we can skip it. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>