aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2019-12-07 20:59:47 -0700
committerJens Axboe <[email protected]>2019-12-10 16:33:06 -0700
commit4e88d6e7793f2f445f43bd608828541d7f43b608 (patch)
tree791553f2f64ff0dd61b1bb3e5187bb2c8699ae6a /lib/mpi/mpi-mod.c
parent0b4295b5e2b9b42f3f3096496fe4775b656c9ba6 (diff)
io_uring: allow unbreakable links
Some commands will invariably end in a failure in the sense that the completion result will be less than zero. One such example is timeouts that don't have a completion count set, they will always complete with -ETIME unless cancelled. For linked commands, we sever links and fail the rest of the chain if the result is less than zero. Since we have commands where we know that will happen, add IOSQE_IO_HARDLINK as a stronger link that doesn't sever regardless of the completion result. Note that the link will still sever if we fail submitting the parent request, hard links are only resilient in the presence of completion results for requests that did submit correctly. Cc: [email protected] # v5.4 Reviewed-by: Pavel Begunkov <[email protected]> Reported-by: 李通洲 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions