]> www.infradead.org Git - users/hch/misc.git/commit
io_uring: add io_submit_fail_link() helper
authorMing Lei <ming.lei@redhat.com>
Fri, 25 Oct 2024 12:22:39 +0000 (20:22 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 7 Nov 2024 22:24:33 +0000 (15:24 -0700)
commitcf19ce516dfc342f7b9282f52394434511242674
treeb03d1e363a05fa57b68588f0d05912e2e288176e
parent28e9377ab59cc5796f54407edf85dadc854e1bb9
io_uring: add io_submit_fail_link() helper

Add io_submit_fail_link() helper and put linking fail logic into this
helper.

This way simplifies io_submit_fail_init(), and becomes easier to add
sqe group failing logic.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241025122247.3709133-3-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c