* Feature Request: SQE's flag for when you are not interested in the op.result
@ 2020-04-22 8:04 Mark Papadakis
2020-04-22 8:27 ` Daurnimator
0 siblings, 1 reply; 2+ messages in thread
From: Mark Papadakis @ 2020-04-22 8:04 UTC (permalink / raw)
To: io-uring
When e.g manipulating epoll state via its FD, most of the time you don’t care wether e.g EPOLL_CTL_DEL succeeds or fails, or you know that it will “never” fail. In such cases maybe it ‘d be beneficial to support another IOSQE flag which, when set, would instruct the io_uring to not include a matching CQE for that SQE when processed.
It’s not a big deal, per se, but it would probably help somewhat with performance.
@markpapadakis
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Feature Request: SQE's flag for when you are not interested in the op.result
2020-04-22 8:04 Feature Request: SQE's flag for when you are not interested in the op.result Mark Papadakis
@ 2020-04-22 8:27 ` Daurnimator
0 siblings, 0 replies; 2+ messages in thread
From: Daurnimator @ 2020-04-22 8:27 UTC (permalink / raw)
To: Mark Papadakis; +Cc: io-uring
On Wed, 22 Apr 2020 at 18:13, Mark Papadakis <[email protected]> wrote:
>
> When e.g manipulating epoll state via its FD, most of the time you don’t care wether e.g EPOLL_CTL_DEL succeeds or fails, or you know that it will “never” fail. In such cases maybe it ‘d be beneficial to support another IOSQE flag which, when set, would instruct the io_uring to not include a matching CQE for that SQE when processed.
> It’s not a big deal, per se, but it would probably help somewhat with performance.
I don't know if this makes sense: it could always fail e.g. due to a
security module.
And because you always need to check for failure, you need to know
when success happens so you can stop tracking for possible failures.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-22 8:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-22 8:04 Feature Request: SQE's flag for when you are not interested in the op.result Mark Papadakis
2020-04-22 8:27 ` Daurnimator
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox