]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: make io-handler in/out dispatching aware of being switched
authorYingxin Cheng <yingxin.cheng@intel.com>
Fri, 2 Jun 2023 08:22:21 +0000 (16:22 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 11 Oct 2023 11:38:32 +0000 (11:38 +0000)
commitd870b8e7ff51fbe4af2d595d3cf5dbdff2a8714e
treea72c7b7afd5b4b59b23b32fc03a657a4d89add8e
parent45177dbedec4fd4daf992a30f5450a592f8c54db
crimson/net: make io-handler in/out dispatching aware of being switched

To prevent the previous shard-states racing on the shared data
structures after switching to a new shard-states.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
(cherry picked from commit 77fef01fa8c25c480ec64d9c566a690e119bf8f8)
src/crimson/net/io_handler.cc
src/crimson/net/io_handler.h