Re: io_uring: buf_index and registered buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> While experimenting with io_uring and liburing I seem to have hit an
>> issue with registered buffers. I can't see a way that either
>> io_uring_register() or liburing can return the buffer indicies
>> associated with registered buffers. In addition, there is no way to
>    
>    Why would it need to return them? The indices are the index into the
>    array you passed in for registration.

Ah this is the part I was missing. I did not know we could be assured the indices passed back were identical to those passed in.

> Fio uses them, as does t/io_uring from fio. I've done lots of testing
>    with registered buffers, all the performance numbers done were with that
>    enabled (unless otherwise noted).
>    
>    But yes, a test case is always a great idea!

Cool. I will go look at what the test in fio does and see if a testcase in liburing makes sense.

Cheers

Stephen    





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux