Dylan Yudaken 114eccdf0e io_uring: add IOU_STOP_MULTISHOT return code
For multishot we want a way to signal the caller that multishot has ended
but also this might not be an error return.

For example sockets return 0 when closed, which should end a multishot
recv, but still have a CQE with result 0

Introduce IOU_STOP_MULTISHOT which does this and indicates that the return
code is stored inside req->cqe

Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220630091231.1456789-7-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-07-24 18:39:17 -06:00
..
2022-07-24 18:39:15 -06:00
2022-07-24 18:39:16 -06:00
2022-07-24 18:39:16 -06:00
2022-07-24 18:39:11 -06:00
2022-07-24 18:39:12 -06:00
2022-07-24 18:39:14 -06:00
2022-07-24 18:39:15 -06:00
2022-07-24 18:39:15 -06:00
2022-07-24 18:39:15 -06:00
2022-07-24 18:39:16 -06:00