Automatic buffer selection for io_uring
Automatic buffer selection for io_uring
Posted Mar 23, 2020 19:50 UTC (Mon) by lorddoskias (subscriber, #95746)Parent article: Automatic buffer selection for io_uring
I'n confused by the description regarding buffer size. Initially it's claimed that all buffers must have identical size, presumably because in the struct describing the request there is a single size_t:
> Each operation includes the base address of the buffer(s), a count of buffers, the size (the same for all buffers in this operation)
The very next sentence mentions: There is no requirement that all buffers in a given group be the same size . I assume one IORING_OP_PROVIDE_BUFFERS call provides 1 group of N buffers. So which one is true?