From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Durgin Subject: Re: Smarter blacklisting? Date: Wed, 19 Apr 2017 16:26:08 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:38024 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966081AbdDSX0L (ORCPT ); Wed, 19 Apr 2017 19:26:11 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A9C898049E for ; Wed, 19 Apr 2017 23:26:10 +0000 (UTC) In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Sage Weil , John Spray Cc: Gregory Farnum , Ceph Development , Jason Dillaman , Mike Christie On 04/19/2017 06:16 AM, Sage Weil wrote: > On Wed, 19 Apr 2017, John Spray wrote: >> I was already pondering where the more detailed blacklist info (e.g. >> ids of clients) should go, as it's not something that actually needs >> to be shared with all the normal OSDMap subscribers (it's only the >> entity that does the blacklist removal that needs to see that). It's >> already not ideal imho that we expose the list of all blacklisted >> clients to all the other clients -- in general they shouldn't be able >> to e.g. learn one another's addresses like this. > > We already break the OSDMap encoding into two sections: the first part > that clients care about, and the second part that is only used by OSDs. > (The kernel client doesn't bother to decode the second half.) > > I suspect it wouldn't take much to send abbreviated maps (and > incrementals) to clients that don't include that second half at all... I was talking to Jason and Mike about another use of more generalized blacklisting at Vault, but I can't remember the details - do you guys? IIRC it sounded like that use would make sense as a separate map that osds and clients would subscribe to. Josh