io_uring: buf_index and registered buffers

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

 



Hi Jens and Team

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 set sqe.buf_index via liburing right now when submitting an IO (it is memset to 0 in liburing.h). The end result is that io_uring IO start to fail when we do them from a set of registered buffers.

I'd be happy to work on a patch for this but could do with confirmation that this a problem and some guidance on a good approach to fixing this in both the system call and the user-space library.

BTW while liburing tests the creation of multiple registered buffers it never issues IO against them so that would be a hole I'd like to fill too.

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