summaryrefslogtreecommitdiffstats
path: root/src/crimson/net/ProtocolV2.h
diff options
context:
space:
mode:
authorYingxin Cheng <yingxin.cheng@intel.com>2022-10-20 03:38:49 +0200
committerYingxin Cheng <yingxin.cheng@intel.com>2022-10-21 11:51:02 +0200
commit764aa9344842a303812270afe4a4d8cbac8ca5c7 (patch)
treecafe2970667542fc6ab76571df0cdc07d79f2f5f /src/crimson/net/ProtocolV2.h
parentcrimson/net: drop Protocol::proto_type (diff)
downloadceph-764aa9344842a303812270afe4a4d8cbac8ca5c7.tar.xz
ceph-764aa9344842a303812270afe4a4d8cbac8ca5c7.zip
crimson/net: fix peer_supported_features usages
Also see commit "msg/async/ProtocolV2: store supported features instead of required" Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Diffstat (limited to '')
-rw-r--r--src/crimson/net/ProtocolV2.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crimson/net/ProtocolV2.h b/src/crimson/net/ProtocolV2.h
index fa76544e72a..b82df4c3070 100644
--- a/src/crimson/net/ProtocolV2.h
+++ b/src/crimson/net/ProtocolV2.h
@@ -78,7 +78,7 @@ class ProtocolV2 final : public Protocol {
void trigger_state(state_t state, write_state_t write_state, bool reentrant);
uint64_t connection_features = 0;
- uint64_t peer_required_features = 0;
+ uint64_t peer_supported_features = 0;
uint64_t client_cookie = 0;
uint64_t server_cookie = 0;
@@ -212,8 +212,7 @@ class ProtocolV2 final : public Protocol {
uint64_t new_client_cookie,
entity_name_t new_peer_name,
uint64_t new_conn_features,
- bool tx_is_rev1,
- bool rx_is_rev1,
+ uint64_t new_peer_supported_features,
// reconnect
uint64_t new_connect_seq,
uint64_t new_msg_seq);