From: Sage Weil Date: Mon, 28 Jan 2019 11:50:59 +0000 (-0600) Subject: Merge PR #24546 into master X-Git-Tag: v14.1.0~271 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=40259dd3ebe21d7f9d83fff716c07aa171e99795;p=ceph.git Merge PR #24546 into master * refs/pull/24546/head: msg/async/ProtocolV2: clear dispatch throttle on connection stop msg/async: fix should_use_msgr2 behavior (including monc) msg/async/AsyncMessenger: clear need_addr *after* we set our new addr msg/async/ProtocolV2: fix handling for v2 client connection with v1 addr ceph_test_msgr: do not connect_to on the client side msg/async: do not connect from server msg/async: do not use peer to addr detection; use getsockname() msg/async/ProtocolV2: always send non-empty addrvec for self msg/async: never fill out port in myaddr if we didn't bind ceph_test_msgr: use v2 addrs for simplemessenger msg/async: msgr2: don't force write event on every message received msg/async/ProtocolV2: be forgiving in server identity check msg/async/ProtocolV2: fault if we connect to the wrong peer msg/async: msgr2: clean cookie if connection failed in ACCEPT_SESSION msg/async/ProtocolV2: do not bump connect_seq for fault during ACCEPTING_SESSION msg/async: msgr2: don't send SESSION_RETRY_GLOBAL in handle_existing_connection msg/async: msgr2: organizing log messages msg/async: msgr2: fix connection fault when replacing msg/async: msgr2: fix replacing race handling msg/async: msgr2: fix connection race when existing connection is newer msg/async: msgr2: assign recv_stamp in handle_message msg/async: msgr2: fix peer_addrs discovery msg/async: msgr2: keep authorizer bufferlist across reconnects msg/async: msgr2: fix connection secret problems for WITH_SEASTAR builds msg/async: msgr2: send keepalive on connection race winner msg/async: msgr2: fix client address learning msg/async: msgr2: fix keepalive_ack message msg/async: msgr2: do not force updating rotating keys inline msg/async: msgr2: fix mark_down vs accept race msg/async: msgr2: unregister con from accept vs mark_down race auth/cephx/CephxSessionHandler: use connection_secret for encryption msg,cephx: establish a unique connection_secret for every connection msg/async: msgr2: use sha256_digest_t to print signature hex strings types.h,rgw: merge sha*_digest_t definitions msg/async: msgr2: close connection when no authorizer is given msg/async: msgr2: formatting fixes msg/async: msgr2: send client v2 address when only v1 address is defined msg/async: msgr2: add payload length to banner msg/async: msgr2: check protocol state after fast dispatch msg/async: msgr2: reduce log level for sending messages event msg/async: msgr2: call verify authorizer when CEPH_AUTH_NONE is used msg/async: msgr2: store peer entity name in the protocol msg/async: msgr2: apply sign/encrypt to messages data payload msg/async: msgr2: encryption/decryption of frames cephx: added encrypt/decrypt bufferlist method to session handler msg/async: msgr2: refactored the frame structures cephx: add sign bufferlist method options: msgr2 enable/disable signing and encrytion options msg/async: msgr2: cephx authentication msg/async: msgr2: implement reconnect msg/async: msgr2: fault handling msg/async: msgr2: messange exchange phase msg/async: msgr2: message flow handshake msg/async: msgr2: authentication phase msg/async: msgr2: exchange peer_type in banner phase test/msgr: cloned test_msgr test for testing msgr2 protocol msg/async: msgr2: banner exchange msg/async: asyncconnection: update the source address info msg/async: move base class Protocol its own source file Reviewed-by: Sage Weil --- 40259dd3ebe21d7f9d83fff716c07aa171e99795