OS-5894: recursive epoll should emit EPOLLRDNORM

Details

Issue Type:Bug
Priority:4 - Normal
Status:Resolved
Created at:2017-01-13T17:14:43.000Z
Updated at:2017-02-14T02:53:34.000Z

People

Created by:Patrick Mooney [X]
Reported by:Patrick Mooney [X]
Assigned to:Patrick Mooney [X]

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2017-02-14T02:53:34.000Z)

Fix Versions

2017-02-16 JAMAICA DECOY (Release Date: 2017-02-16)

Description

When polling on an epoll descriptor, it should emit EPOLLIN|EPOLLRDNORM when descriptors contained within have pending events. The current logic only yields EPOLLIN.

Comments

Comment by Bot Bot [X]
Created at 2017-02-13T22:25:28.000Z

illumos-joyent commit 278a073 (branch master, by Patrick Mooney)

OS-5882 epoll fails to wake on certain edge-triggered conditions
OS-5884 epoll should not emit POLLNVAL
OS-5894 recursive epoll should emit EPOLLRDNORM
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Robert Mustacchi <rm@joyent.com>