commit | 5a690173c34c91b218fcc8b43fc8c84cfeb3797e | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Jun 03 15:26:12 2025 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jun 05 10:29:21 2025 -0600 |
tree | 04b7d3071f652a4a2a2e7eae585ce793d1728ccf | |
parent | a2c5f28cb2343aadc267b96a21a468790156ce9a [diff] |
io_uring/uring_cmd: copy SQE only when needed If the request is flagged with REQ_F_FORCE_ASYNC or REQ_F_ASYNC_PREP, then there's a chance that it will get issued out-of-line. For that case, the SQE must be copied. Add an SQE copy helper, and use it on the prep side if the request is flagged as such, and from the main issue path if we get -EAGAIN when attempting to issue the request. Signed-off-by: Jens Axboe <axboe@kernel.dk>