diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-05-10 16:07:28 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-24 08:00:18 -0600 |
commit | 9e645e1105ca60fbbc6bddf2fd5ef7e57ed3dca8 (patch) | |
tree | 4b035192211c7a57d57f4102ba1fa982f70c5df9 /net/socket.c | |
parent | 9d93a3f5a0c0d0f79aebc597d47c7cedc852aeb5 (diff) |
io_uring: add support for sqe links
With SQE links, we can create chains of dependent SQEs. One example
would be queueing an SQE that's a read from one file descriptor, with
the linked SQE being a write to another with the same set of buffers.
An SQE link will not stall the pipeline, it'll just ensure that
dependent SQEs aren't issued before the previous link has completed.
Any error at submission or completion time will break the chain of SQEs.
For completions, this also includes short reads or writes, as the next
SQE could depend on the previous one being fully completed.
Any SQE in a chain that gets canceled due to any of the above errors,
will get an CQE fill with -ECANCELED as the error value.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions