• Jens Axboe's avatar
    io_uring: add support for level triggered poll · b9ba8a44
    Jens Axboe authored
    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>
    b9ba8a44
poll.c 20.1 KB