Re: [PATCH liburing v2 0/5] liburing: add helpers to enable/disable eventfd notifications

From: Jens Axboe
Date: Wed May 20 2020 - 13:14:58 EST


On 5/20/20 11:07 AM, Stefano Garzarella wrote:
> This series is based on top of a new IORING_CQ_EVENTFD_DISABLED
> flag available in the CQ ring flags.
>
> I added io_uring_cq_eventfd_enabled() to get the status of eventfd
> notifications, and io_uring_cq_eventfd_toggle() to disable/enabled
> eventfd notifications.
>
> I updated man pages and I added a eventfd-disable.c test case.
>
> v1 -> v2:
> - renamed io_uring_cq_eventfd_toggle()
> - return EOPNOTSUPP only if we need to change the flag

Applied, thanks.

--
Jens Axboe