Skip to content
Commit b9ba8a44 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: add support for level triggered poll



By default, the POLL_ADD command does edge triggered poll - if we get
a non-zero mask on the initial poll attempt, we complete the request
successfully.

Support level triggered by always waiting for a notification, regardless
of whether or not the initial mask matches the file state.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d9b57aa3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment