diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2021-02-18 21:29:47 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-02-18 23:13:18 +0300 |
| commit | de59bc104c24f2e8637464a9e3ebbd8fd4c0f115 (patch) | |
| tree | e50d91d584f64151da3a12f2e372fb748986410e /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | 1ee43ba8d267b5e6729c45b8756263f69c2978cc (diff) | |
| download | linux-de59bc104c24f2e8637464a9e3ebbd8fd4c0f115.tar.xz | |
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>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
