• Jens Axboe's avatar
    io_uring: add general async offload context · 1a6b74fc
    Jens Axboe authored
    Right now we just copy the sqe for async offload, but we want to store
    more context across an async punt. In preparation for doing so, put the
    sqe copy inside a structure that we can expand. With this pointer added,
    we can get rid of REQ_F_FREE_SQE, as that is now indicated by whether
    req->io is NULL or not.
    
    No functional changes in this patch.
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    1a6b74fc
io_uring.c 119 KB