diff options
| author | 2025-06-05 11:33:52 -0600 | |
|---|---|---|
| committer | 2025-06-23 08:59:13 -0600 | |
| commit | af19388a973877b2349df46c4487a789cd3148ed (patch) | |
| tree | 5b5f77fdd6bf87818ff3d85fbdfcdba40f808ecb /include/uapi/linux | |
| parent | io_uring: add IO_URING_F_INLINE issue flag (diff) | |
| download | wireguard-linux-af19388a973877b2349df46c4487a789cd3148ed.tar.xz wireguard-linux-af19388a973877b2349df46c4487a789cd3148ed.zip | |
io_uring: add struct io_cold_def->sqe_copy() method
Will be called by the core of io_uring, if inline issue is not going
to be tried for a request. Opcodes can define this handler to defer
copying of SQE data that should remain stable.
Only called if IO_URING_F_INLINE is set. If it isn't set, then there's a
bug in the core handling of this, and -EFAULT will be returned instead
to terminate the request. This will trigger a WARN_ON_ONCE(). Don't
expect this to ever trigger, and down the line this can be removed.
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
