aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-06-05 11:33:52 -0600
committerJens Axboe <axboe@kernel.dk>2025-06-23 08:59:13 -0600
commitaf19388a973877b2349df46c4487a789cd3148ed (patch)
tree5b5f77fdd6bf87818ff3d85fbdfcdba40f808ecb /include/uapi/linux
parentio_uring: add IO_URING_F_INLINE issue flag (diff)
downloadwireguard-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