diff options
authorJens Axboe <>2020-02-01 11:04:41 -0700
committerJens Axboe <>2020-02-01 11:04:41 -0700
commit9416351377f04211f859667f39a58d2a223cbd21 (patch)
parent75d088eaecaa9006fd9e38344a050e9fba5abe10 (diff)
man/io_uring_enter.2: clarify how/when IOSQE_IO_LINK are terminated
Signed-off-by: Jens Axboe <>
1 files changed, 7 insertions, 1 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index ca8a736..94ab625 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -545,7 +545,13 @@ of the chain is denoted by the first SQE that does not have this flag set.
This flag has no effect on previous SQE submissions, nor does it impact SQEs
that are outside of the chain tail. This means that multiple chains can be
executing in parallel, or chains and individual SQEs. Only members inside the
-chain are serialized. Available since 5.3.
+chain are serialized. A chain of SQEs will be broken, if any request in that
+chain ends in error. io_uring considers any unexpected result an error. This
+means that, eg, a short read will also terminate the remainder of the chain.
+If a chain of SQE links is broken, the remaining unstarted part of the chain
+will be terminated and completed with
+as the error code. Available since 5.3.
Like IOSQE_IO_LINK, but it doesn't sever regardless of the completion result.