]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: implement shard-local messenger internally
authorYingxin Cheng <yingxin.cheng@intel.com>
Sun, 19 Jan 2020 07:23:25 +0000 (15:23 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 12 Feb 2020 02:47:38 +0000 (10:47 +0800)
commitb2da8b97d0595fdd6aaece8091bc044326730b8e
treedd3f1a88c6e0ea715a68239fd97a90e3e71c2ee8
parente63fb6bc180d74f40e3d72bdb2dd8588125ff2e5
crimson/net: implement shard-local messenger internally

Adopt FixedCPUServerSocket and don't move sockets across cores after
connected/accepted.

Implement the messenger to be managed in one CPU only, since we have
encapsulated the seastar listen-on-all requirement inside
FixedCPUServerSocket, and the requirements of a cross-core messenger has
not been defined yet.

The messenger interfaces can also be simplified, but will be in another
patch.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/Messenger.cc
src/crimson/net/SocketMessenger.cc
src/crimson/net/SocketMessenger.h