]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: implement logic to move a io-handler to a new sid
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 5 Jun 2023 02:22:29 +0000 (10:22 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Sun, 25 Jun 2023 03:57:19 +0000 (11:57 +0800)
commitb10f0bd3ccc919bfbe4d063bebabe651faf60812
tree41c1d2c7a440ea3b871b4aa1faad4443ec22e50e
parentb2a456d6b86e0105397f66fb1576acb37d650c56
crimson/net: implement logic to move a io-handler to a new sid

Note that it is inevitable that the user can mark down the connection
while the protocol is trying to move the connection to another core.

In that case, the implementation should tolerate the racing, which
finally needs to cleanup resources correctly and dispatch reasonable
events.

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