From: Sage Weil Subject: Re: msgr2 protocol Date: Fri, 3 Jun 2016 13:33:56 -0400 (EDT) Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from mx1.redhat.com ([209.132.183.28]:36678 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752375AbcFCRdf (ORCPT ); Fri, 3 Jun 2016 13:33:35 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Haomai Wang Cc: Marcus Watts , Gregory Farnum , ceph-devel On Sat, 4 Jun 2016, Haomai Wang wrote: > On Fri, Jun 3, 2016 at 9:24 PM, Sage Weil wrote: > > I updated the PR with an additional commit that simplifies the > > confounder. It seems like we only need the confoudner at teh beginning of > > the session, not for every message, since the signature and encryption > > state is chained from the previous frame. Is that right? > > > > https://github.com/ceph/ceph/pull/9461/commits/45766fed1864733c5216a7b50f11cce256338170 > > > > Full PR: > > > > https://github.com/ceph/ceph/pull/9461 > > > > -- > > > > Also, I just realized that now might be a good time to address the ability > > to multiplex different endpoints (sessions) into the same connection. We > > could add it later with the msgr feature bits, but it'll probably be > > simpler not to have to support two variants of the protocol. On the other > > hand, it's a lot more complicated. :( > > What's the use case? different session shares the same connection? Do > you mean different messenger instance will share the same connection > pool? Many OSD's in the same unix process, sharing the same messenger connection pool, eventually using SPDK/DPDK. sage