• Jens Axboe's avatar
    io_uring: store io_identity in io_uring_task · 5c3462cf
    Jens Axboe authored
    This is, by definition, a per-task structure. So store it in the
    task context, instead of doing carrying it in each io_kiocb. We're being
    a bit inefficient if members have changed, as that requires an alloc and
    copy of a new io_identity struct. The next patch will fix that up.
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    5c3462cf
io_uring.c 233 KB