From: Xiaoguang Wang <[email protected]>
To: Jens Axboe <[email protected]>, [email protected]
Cc: [email protected]
Subject: Re: [LIBURING PATCH v2] Let IORING_OP_FILES_UPDATE support to choose fixed file slots
Date: Tue, 31 May 2022 09:32:20 +0800 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
hi,
> On 5/30/22 11:36 AM, Xiaoguang Wang wrote:
>> Allocate available direct descriptors instead of having the
>> application pass free fixed file slots. To use it, pass
>> IORING_FILE_INDEX_ALLOC to io_uring_prep_files_update(), then
>> io_uring in kernel will store picked fixed file slots in fd
>> array and let cqe return the number of slots allocated.
> Thanks, applied and made a few tweaks. Most notably renaming
> the helper to io_uring_prep_close_direct_unregister() which
> is pretty long but more descriptive than _all() which doesn't
> really tell us anything useful I think.
Agree, thanks.
>
> Please check and see if you agree with that, and the man page
> tweak as well.
Yeah, I have checked it, thanks.
Regards,
Xiaoguang Wang
>
prev parent reply other threads:[~2022-05-31 1:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-30 17:36 [LIBURING PATCH v2] Let IORING_OP_FILES_UPDATE support to choose fixed file slots Xiaoguang Wang
2022-05-30 22:55 ` Jens Axboe
2022-05-31 1:32 ` Xiaoguang Wang [this message]
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 \
--in-reply-to=a818d0c3-8f07-5b2a-4bed-b9e546711e15@linux.alibaba.com \
[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