]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: adjust dispatcher interface about cross-core notifications
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 10 Jul 2023 01:51:39 +0000 (09:51 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 19 Oct 2023 07:15:13 +0000 (07:15 +0000)
commitd981f681e5fa1c75cf2951ba9971433b4fa09b44
tree2a16ead8839fc90b04ddaa3621b65059aab316c2
parent8e141d20872a759de6b027f0c27e022d207703f1
crimson/net: adjust dispatcher interface about cross-core notifications

Due to that we aren't able to determine cross-core ordering:
* Move ms_handle_connect/accept() to be called in the new shard, so it
  will notify before ms_dispatch() in the same core;
* Introduce another ms_handle_shard_change() when the current core is
  changed;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 6bab7e698db8b7f3bec240952ed33a2bb9918a20)
src/crimson/mgr/client.cc
src/crimson/net/Dispatcher.h
src/crimson/net/ProtocolV2.cc
src/crimson/net/chained_dispatchers.cc
src/crimson/net/chained_dispatchers.h
src/crimson/net/io_handler.cc
src/crimson/net/io_handler.h
src/crimson/osd/heartbeat.cc
src/crimson/tools/perf_crimson_msgr.cc
src/test/crimson/test_messenger.cc
src/test/crimson/test_messenger_thrash.cc