• Jens Axboe's avatar
    io_uring: add support for 128-byte SQEs · ebdeb7c0
    Jens Axboe authored
    Normal SQEs are 64-bytes in length, which is fine for all the commands
    we support. However, in preparation for supporting passthrough IO,
    provide an option for setting up a ring with 128-byte SQEs.
    
    We continue to use the same type for io_uring_sqe, it's marked and
    commented with a zero sized array pad at the end. This provides up
    to 80 bytes of data for a passthrough command - 64 bytes for the
    extra added data, and 16 bytes available at the end of the existing
    SQE.
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    ebdeb7c0
io_uring.c 308 KB