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

Expose pfd #1998

Merged
merged 3 commits into from
Dec 19, 2024
Merged

Expose pfd #1998

merged 3 commits into from
Dec 19, 2024

Conversation

gdamore
Copy link
Contributor

@gdamore gdamore commented Dec 19, 2024

fixes #

Note that the above format should be used in your git commit comments.
You agree that by submitting a PR, you have read and agreed to our
contributing guidelines.

This should reduce lock pressure during I/O for FreeBSD and macOS,
and should provide a small performance benefit.
This should simplify debugging in some circumstances.
…tion

The poller selection in the previous poller changes for select were
not quite functional.  Also, while testing poll() based poller, there
were problems where it simply did not work correctly, so this addresses
those, and it seems to work now.

The pfd structures are exposed as we intend to allow inlining them
to eliminate the separate allocation and potential for failure during
initialization.  We also want to have plans afoot to eliminate a
lot of the extra locking done done on each I/O iteration, and this
is setting the foundation for that.
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.01%. Comparing base (6c949de) to head (5e18eb4).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1998      +/-   ##
==========================================
+ Coverage   81.99%   82.01%   +0.02%     
==========================================
  Files          95       95              
  Lines       24033    24031       -2     
  Branches     3167     3167              
==========================================
+ Hits        19706    19710       +4     
+ Misses       4256     4250       -6     
  Partials       71       71              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gdamore gdamore merged commit 5e18eb4 into main Dec 19, 2024
18 of 19 checks passed
@gdamore gdamore deleted the expose-pfd branch December 19, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant