Skip to content
Commit 8ed8d3c3 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: any deferred command must have stable sqe data



We're currently not retaining sqe data for accept, fsync, and
sync_file_range. None of these commands need data outside of what
is directly provided, hence it can't go stale when the request is
deferred. However, it can get reused, if an application reuses
SQE entries.

Ensure that we retain the information we need and only read the sqe
contents once, off the submission path. Most of this is just moving
code into a prep and finish function.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fc4df999
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment