On 1/22/20 11:08 AM, Dmitry Sychov wrote: > It's unclear starting from what version the kernel and headers > were updated with sockets support(IORING_OP_ACCEPT etc). > > I just checked today 2020/01/22 Focal Rossa Ubuntu and the last OP is > only IORING_OP_TIMEOUT (still on kernel 5.4.0-12) ;( Yeah, you'll need 5.5 for that. > So maybe it's a good idea to comment-update every io_uring.h OP with > minimum kernel version requirement... You mean the one in liburing? > p.s. Not every Linux user is a kernel hacker ;) Definitely! This will be solved with 5.6 that introduces a probe command, so you can query the running kernel for what opcodes it supports. For now, it's not that easy, unfortunately... -- Jens Axboe