From: Pavel Begunkov <[email protected]>
To: [email protected]
Cc: Jens Axboe <[email protected]>
Subject: Re: [PATCH 1/1] io_uring/msg_ring: let target know allocated index
Date: Thu, 16 Mar 2023 13:10:43 +0000 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <4a5ba7d8d439f1942118f93b9be5c05d6a46f2cd.1678937992.git.asml.silence@gmail.com>
On 3/16/23 12:11, Pavel Begunkov wrote:
> msg_ring requests transferring files support auto index selection via
> IORING_FILE_INDEX_ALLOC, however they don't return the selected index
> to the target ring and there is no other good way for the userspace to
> know where is the receieved file.
>
> Return the index for allocated slots and 0 otherwise, which is
> consistent with other fixed file installing requests.
>
> Cc: [email protected] # v6.0+
> Fixes: e6130eba8a848 ("io_uring: add support for passing fixed file descriptors")
> Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://github.com/axboe/liburing/issues/809
--
Pavel Begunkov
next prev parent reply other threads:[~2023-03-16 13:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-16 12:11 [PATCH 1/1] io_uring/msg_ring: let target know allocated index Pavel Begunkov
2023-03-16 12:14 ` Pavel Begunkov
2023-03-16 12:29 ` Pavel Begunkov
2023-03-16 13:10 ` Pavel Begunkov [this message]
2023-03-16 13:17 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox