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
Wip async abstract backend #10264
Merged
Merged
Wip async abstract backend #10264
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0ba4223
msg/async/Stack: add abstract Stack
yuyuyu101 31bbe39
msg/async: add PosixStack support
yuyuyu101 57629c6
msg/async/net_handler: let set_socket_options return value
yuyuyu101 d0cd88b
msg/async/AsyncConnection: support NetworkStack api instead of posix
yuyuyu101 fca0de1
msg/async/Event: debug event address when dispatching and executing
yuyuyu101 f62f28c
msg/async/Event: remove event wakeup flag
yuyuyu101 4e57181
msg/async/PosixStack: increase log level
yuyuyu101 31833e8
msg/async/Stack: disable smart thread spawn now
yuyuyu101 524553f
common/ceph_context: add prefork/postfork wathcher support
yuyuyu101 8d63e2c
msg/async/Stack: register fork watcher
yuyuyu101 154376b
msg/async: allow EventCenter::set_owner reentry
yuyuyu101 1d4ff2a
msg/async: readd set_priority call
yuyuyu101 3a43a0b
msg/async/AsyncConnection: fix _conn_prefix racing when stopped
yuyuyu101 6d3e495
test_async_networkstack: add networkstack tests
yuyuyu101 9bfd11e
msg/async/Event: remove global_centers assert
yuyuyu101 f6c3fd9
test_msgr: ensure wait for ms_dispatch executed
yuyuyu101 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,8 @@ libmsg_la_SOURCES += \ | |
msg/async/AsyncMessenger.cc \ | ||
msg/async/Event.cc \ | ||
msg/async/net_handler.cc \ | ||
msg/async/Stack.cc \ | ||
msg/async/PosixStack.cc \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should squash this change with the previous two commits. |
||
msg/async/EventSelect.cc | ||
|
||
if LINUX | ||
|
@@ -47,6 +49,8 @@ noinst_HEADERS += \ | |
msg/async/Event.h \ | ||
msg/async/EventEpoll.h \ | ||
msg/async/EventSelect.h \ | ||
msg/async/Stack.h \ | ||
msg/async/PosixStack.h \ | ||
msg/async/net_handler.h | ||
|
||
if LINUX | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just use
Spinlock
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok