io-uring.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/1] Is register file feature hard to use ?
@ 2021-10-12  8:48 Xiaoguang Wang
  2021-10-12  8:48 ` [RFC 1/1] io_uring: improve register file feature's usability Xiaoguang Wang
  0 siblings, 1 reply; 9+ messages in thread
From: Xiaoguang Wang @ 2021-10-12  8:48 UTC (permalink / raw)
  To: io-uring; +Cc: axboe, asml.silence

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-10-25  9:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12  8:48 [RFC 0/1] Is register file feature hard to use ? Xiaoguang Wang
2021-10-12  8:48 ` [RFC 1/1] io_uring: improve register file feature's usability Xiaoguang Wang
2021-10-12 11:10   ` Pavel Begunkov
2021-10-12 13:11     ` Xiaoguang Wang
2021-10-12 14:33       ` Pavel Begunkov
2021-10-13  3:32         ` Xiaoguang Wang
2021-10-14  9:43           ` Pavel Begunkov
2021-10-21  8:40             ` Xiaoguang Wang
2021-10-25  9:43               ` Pavel Begunkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).