| commit | eca641e0ea37436f2367bd727417ac95dfba8138 | [log] [tgz] |
|---|---|---|
| author | Jens Axboe <axboe@kernel.dk> | Fri Apr 04 14:54:26 2025 -0600 |
| committer | Jens Axboe <axboe@kernel.dk> | Tue Apr 08 09:47:51 2025 -0600 |
| tree | 31d42f2139e1627ff854a9d36fb0bbb433da3d30 | |
| parent | 159b14edc61fe523e5b8c249b584acae70fc7fff [diff] |
Add support for IORING_OP_PIPE This opcode creates a pipe, either with normal file descriptors or with io_uring fixed descriptors. There are two helpers added for it, which can aid in setting up an SQE for creating a pipe. Add a test case as well that creates pipes with both normal and fixed descriptors, and does a quick test (write to pipe, read from pipe, verify data is good) as well. Signed-off-by: Jens Axboe <axboe@kernel.dk>