From: Pavel Begunkov <[email protected]>
To: Drew DeVault <[email protected]>, [email protected]
Subject: Re: Polling on an io_uring file descriptor
Date: Wed, 20 Oct 2021 11:15:58 +0100 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <CF44HAZOCG3O.1IGR35UF76JWC@taiga>
On 10/20/21 10:21, Drew DeVault wrote:
> I would like to poll on an io_uring file descriptor to be notified when
> CQE's are available, either via poll(2) or IORING_OP_POLL_ADD. This
> doesn't seem to work on 5.10. Is this feasible to add support for?
Not a canonical way, but both should work (POLLIN for CQEs).
Do you have a simple test case for us to reproduce?
--
Pavel Begunkov
next prev parent reply other threads:[~2021-10-20 10:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-20 9:21 Polling on an io_uring file descriptor Drew DeVault
2021-10-20 10:02 ` Drew DeVault
2021-10-20 10:15 ` Pavel Begunkov [this message]
2021-10-20 11:44 ` Drew DeVault
2021-10-20 11:58 ` Pavel Begunkov
2021-10-20 12:00 ` Drew DeVault
2021-10-22 7:59 ` Drew DeVault
2021-10-22 9:49 ` Pavel Begunkov
2021-10-22 10:26 ` Drew DeVault
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