Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't turn off Epoll OneShot when resubscribing to OneShot events #3136

Merged
merged 1 commit into from
Apr 26, 2019

Conversation

SeanTAllen
Copy link
Member

@SeanTAllen SeanTAllen commented Apr 25, 2019

Fixes the performance regression introduced in #2897. This change is really a single 1-liner, please a small change to make clear that edge triggering isn't used with one shot.

@SeanTAllen SeanTAllen added the do not merge This PR should not be merged at this time label Apr 25, 2019
@SeanTAllen SeanTAllen requested a review from dipinhora April 25, 2019 15:05
Copy link
Contributor

@dipinhora dipinhora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duh! Not sure what I would do without you and @slfritchie finding and fixing all of my awesome bugs!

@SeanTAllen SeanTAllen changed the title Don't switch from OneShot to EdgeTriggered on epoll resub Don't turn off OneShot when resubscribing to OneShot events Apr 25, 2019
@SeanTAllen SeanTAllen changed the title Don't turn off OneShot when resubscribing to OneShot events Don't turn off Epoll OneShot when resubscribing to OneShot events Apr 25, 2019
@SeanTAllen SeanTAllen added changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge triggers release Major issue that when fixed, results in an "emergency" release labels Apr 25, 2019
@SeanTAllen SeanTAllen mentioned this pull request Apr 25, 2019
@SeanTAllen SeanTAllen removed the do not merge This PR should not be merged at this time label Apr 26, 2019
@SeanTAllen SeanTAllen merged commit aa360ce into master Apr 26, 2019
@SeanTAllen SeanTAllen deleted the issue-2973 branch April 26, 2019 16:37
SeanTAllen added a commit to ponylang/lori that referenced this pull request Jun 8, 2019
Pony 0.28.1 fixed a bug where Epoll OneShot events were being done using
edge triggering. That fix, PR#3136
ponylang/ponyc#3136, then proceeded to break
Lori.

The problem? The Pony TCP runtime that Lori currently uses was creating
a one shot event for connections. Lori doesn't currently support one
shot at all.

A recent commit to Pony master
ponylang/ponyc@5f29b1b
fixes the issue and allows Lori to work again. This commit brings Lori
up to date with those changes so Lori can work without one shot being
implemented.
SeanTAllen added a commit to ponylang/lori that referenced this pull request Jun 8, 2019
Pony 0.28.1 fixed a bug where Epoll OneShot events were being done using
edge triggering. That fix, PR#3136
ponylang/ponyc#3136, then proceeded to break
Lori.

The problem? The Pony TCP runtime that Lori currently uses was creating
a one shot event for connections. Lori doesn't currently support one
shot at all.

A recent commit to Pony master
ponylang/ponyc@5f29b1b
fixes the issue and allows Lori to work again. This commit brings Lori
up to date with those changes so Lori can work without one shot being
implemented.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge triggers release Major issue that when fixed, results in an "emergency" release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants