]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net/io_handler: drop io_state_t::none 61456/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 21 Jan 2025 03:14:04 +0000 (11:14 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Tue, 21 Jan 2025 03:33:10 +0000 (11:33 +0800)
commit5550486c778ef32a9dcae4f9fa5d5fc3c667314e
treefce559b22b4c1077fc42ca2c778b8c3efb57cd43
parent9f660b1e5676efc109dc528045334dd710650031
crimson/net/io_handler: drop io_state_t::none

io_state_t::none was introduced to resemble async msgr and used by the
single-shard crimson msgr to mark that the connection is invisible by
any user during accepting. But it isn't simple in multi-shard crimson
msgr because the ordering is impossible to predict among the connection
user, connection and the msgr shards if they are in 3 different shards.

So drop io_state_t::none.

Fixes: https://tracker.ceph.com/issues/66606
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/ProtocolV2.cc
src/crimson/net/io_handler.cc
src/crimson/net/io_handler.h