From: Ming Lei <ming.lei@redhat.com>
To: Jens Axboe <axboe@kernel.dk>,
io-uring@vger.kernel.org,
Pavel Begunkov <asml.silence@gmail.com>
Cc: Caleb Sander Mateos <csander@purestorage.com>
Subject: Re: [PATCH] io_uring: uring_cmd: add multishot support without poll
Date: Mon, 18 Aug 2025 10:16:19 +0800 [thread overview]
Message-ID: <CAFj5m9KuQ1322uFe4nSELW_uGXRHE5K9Ns8DixaYXn45a08N4Q@mail.gmail.com> (raw)
In-Reply-To: <20250810025024.1659190-1-ming.lei@redhat.com>
On Sun, Aug 10, 2025 at 10:50 AM Ming Lei <ming.lei@redhat.com> wrote:
>
> Add UAPI flag IORING_URING_CMD_MULTISHOT for supporting naive multishot
> uring_cmd:
>
> - for notifying userspace to handle event, typical use case is to notify
> userspace for handle device interrupt event, really generic use case
>
> - needn't device to support poll() because the event may be originated
> from multiple source in device wide, such as multi queues
>
> - add two APIs, io_uring_cmd_select_buffer() is for getting the provided
> group buffer, io_uring_mshot_cmd_post_cqe() is for post CQE after event
> data is pushed to the provided buffer
>
> Follows one ublk use case:
>
> https://github.com/ming1/linux/commits/ublk-devel/
>
> Signed-off-by: Ming Lei <ming.lei@redhat.com>
Hello Guys,
Ping...
Thanks,
next prev parent reply other threads:[~2025-08-18 2:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-10 2:50 [PATCH] io_uring: uring_cmd: add multishot support without poll Ming Lei
2025-08-18 2:16 ` Ming Lei [this message]
2025-08-18 15:31 ` Jens Axboe
2025-08-19 11:19 ` Ming Lei
2025-08-19 14:01 ` Jens Axboe
2025-08-19 14:28 ` Ming Lei
2025-08-19 14:31 ` Jens Axboe
2025-08-19 14:40 ` Ming Lei
2025-08-19 14:43 ` Jens Axboe
2025-08-19 14:55 ` Ming Lei
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=CAFj5m9KuQ1322uFe4nSELW_uGXRHE5K9Ns8DixaYXn45a08N4Q@mail.gmail.com \
--to=ming.lei@redhat.com \
--cc=asml.silence@gmail.com \
--cc=axboe@kernel.dk \
--cc=csander@purestorage.com \
--cc=io-uring@vger.kernel.org \
/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