While trying to use register file feature, I think it's hard to use, see patch-1's commit message for more info. In this RFC patch, I just propose an preliminary implementation, don't consider tag, compatibility issue yet, sorry. If we come to a agreement that it's the right direction, I'll refine it as soon as possible. Also I saw Pavel has written "io_uring: openat directly into fixed fd table", which requires user to pass a file_slot. I think it's inconvenient to user app. We may still reply __get_unused_fd_flags() to allocate a fd, use it to as slot info. Xiaoguang Wang (1): io_uring: improve register file feature's usability fs/io_uring.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 53 insertions(+), 8 deletions(-) -- 2.14.4.44.g2045bb6