Repository navigation
msg/async/Event: use eventfd on Linux - #60105
Conversation
|
"ceph API tests": " The package ceph-libboost-context1.85-dev needs to be reinstalled, but I can't find an archive for it." -> bogus CI failure "make check": "Terminated / Build step 'Execute shell' marked build as failure" -> ???? bogus? |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
My change is still appropriate, but there was no feedback at all. But how can I ask for a code review? Who to ask? Hello Ceph maintainers! I have 17 open (non-draft) PRs that are waiting to be merged! https://github.com/ceph/ceph/pulls/MaxKellermann |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
fca8cef to
60144e4
Compare
|
Apparently, nobody is interested in this change? |
|
let me take a look. |
tchaikov
left a comment
There was a problem hiding this comment.
@MaxKellermann hi Max, sorry for the latency. left a few comments.
eventfd is Linux's first-choice tool for waking up I/O event loops. It is faster and more robust than pipes - it does not need a list of pipe buffers, cannot become full, and writing/reading to it is a simple memory access. eventfd has been available since Linux 2.6.22, therefore this patch does not do any configure-time checks and no runtime fallback. If we're __linux__, it must be available. To avoid an ABI breakage, both fields `notify_receive_fd` and `notify_send_fd` remain, both set to the same eventfd value. Signed-off-by: Max Kellermann <[email protected]>
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
It's been nearly 10 months.... |
eventfd is Linux's first-choice tool for waking up I/O event loops.
It is faster and more robust than pipes - it does not need a list of
pipe buffers, cannot become full, and writing/reading to it is a
simple memory access.
eventfd has been available since Linux 2.6.22, therefore this patch
does not do any configure-time checks and no runtime fallback. If
we're linux, it must be available.
To avoid an ABI breakage, both fields
notify_receive_fdandnotify_send_fdremain, both set to the same eventfd value.Checklist