On 3/3/22 7:36 AM, Jens Axboe wrote: > The only potential oddity here is that the fd passed back is not a > legitimate fd. io_uring does support poll(2) on its file descriptor, so > that could cause some confusion even if I don't think anyone actually > does poll(2) on io_uring. Side note - the only implication here is that we then likely can't make the optimized behavior the default, it has to be an IORING_SETUP_REG flag which tells us that the application is aware of this limitation. Though I guess close(2) might mess with that too... Hmm. -- Jens Axboe