Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp698989pxb; Wed, 11 Nov 2020 14:06:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJybNpsKa8bVhaEfeRVrO11tw6jAiSZeYdvxhSGRsg2ndZs/i51q3H0J1vRFKPX6HQbjVzmq X-Received: by 2002:a17:906:cc4c:: with SMTP id mm12mr28348928ejb.141.1605132393516; Wed, 11 Nov 2020 14:06:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605132393; cv=none; d=google.com; s=arc-20160816; b=xKOH2jocao++ndi2KtGoLE19uI6BI1ML2hm4ZxNPPWwqH9GfyitbpEDvVChAwwiftq TEY/oqAfwlT9wJ3L7vrW34oUfITM7c8OQaIhQj1sKqUrjCygIHRRK5HdFW4rHURNNizw LNFtgVcN5EiomO4kuOXu08XoBuzBKvc5moA3DwQHqFieCdihwjE6bvFgi0VvHIjr8wk5 feQG2HfYRV2ahDOTWcZWEI666epBqo9ZI9EsoL+9WLjL86N4iyZ7KBe1AUJi2KN+89tm j6YrmLZVUEU48r+2oxp7I7WyL4os+q/LCF3YAe1/K6qbUycpPTTKGNZINOOYYxJIBuQl 6bqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=+Pw1dT9EfEun2UV2lD1wu7SEd5YXVHCQq/vDqBrQuiU=; b=my603xZtL/mLuZXSIy+mRO7YwXCgGbNI05I//KdF2pAa4Mg68HH/sMofrCJYP8PT59 g7FBzoWFn562AqFNfd29SsevR3+abpyLqCQk++Jvbv5thXCi61Kb17Vky5cgvS2KliTb qrL35mAYoa4+qj7UokAlXkTvK2U52aIYg9fKl/YzOIlMdAsss6bf6Ut6AZ/iPR+INDjT 3yRHn67MjpeOyZG1W1bqv9snjup6Uq5fPi9RPO0tZjUT33+l9QTQbrcAEjLgivaIqucm eUmqqVUbxUHNIQQRyEZXbsp4KXCjbXBTHyiWpGO69tEwrr5RLYf6hvJjWHyUFZUONhEP dl+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XexDvTYq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si2428102ejq.307.2020.11.11.14.06.10; Wed, 11 Nov 2020 14:06:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XexDvTYq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726459AbgKKWEd (ORCPT + 99 others); Wed, 11 Nov 2020 17:04:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:56056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgKKWEd (ORCPT ); Wed, 11 Nov 2020 17:04:33 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6B9E72087D; Wed, 11 Nov 2020 22:04:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605132271; bh=6sleayhcVSfEphEOzhpuo8Eufu2Br31APK/mDMajiVw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XexDvTYqp3OouX1/Z/04MLFD5u672r2C60j23FibwvCTyNsSn9tU5Cl+SJHXhhJi0 XppzT6YkmVgAup5pdxAVSK6XKqDHryQNMlB/fpH+0oynZ/cT8H5XND1sO+jWFm+zFQ AGzn08AOYYd6hz4GQpzUqFAyD5J18XaF0ITC8NxM= Date: Wed, 11 Nov 2020 14:04:29 -0800 From: Jakub Kicinski To: Jay Vosburgh Cc: Jarod Wilson , linux-kernel@vger.kernel.org, Veaceslav Falico , Andy Gospodarek , "David S. Miller" , Thomas Davis , netdev@vger.kernel.org Subject: Re: [PATCH net-next v4 0/5] bonding: rename bond components Message-ID: <20201111140429.25ab20b1@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <10065.1605125636@famine> References: <20201106200436.943795-1-jarod@redhat.com> <10065.1605125636@famine> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Nov 2020 12:13:56 -0800 Jay Vosburgh wrote: > Jarod Wilson wrote: > > >The bonding driver's use of master and slave, while largely understood > >in technical circles, poses a barrier for inclusion to some potential > >members of the development and user community, due to the historical > >context of masters and slaves, particularly in the United States. This > >is a first full pass at replacing those phrases with more socially > >inclusive ones, opting for bond to replace master and port to > >replace slave, which is congruent with the bridge and team drivers. > > > >There are a few problems with this change. First up, "port" is used in > >the bonding 802.3ad code, so the first step here is to rename port to > >ad_port, so we can reuse port. Second, we have the issue of not wanting > >to break any existing userspace, which I believe this patchset > >accomplishes, preserving all existing sysfs and procfs interfaces, and > >adding module parameter aliases where necessary. > > > >Third, we do still have the issue of ease of backporting fixes to > >-stable trees. I've not had a huge amount of time to spend on it, but > >brief forays into coccinelle didn't really pay off (since it's meant to > >operate on code, not patches), and the best solution I can come up with > >is providing a shell script someone could run over git-format-patch > >output before git-am'ing the result to a -stable tree, though scripting > >these changes in the first place turned out to be not the best thing to > >do anyway, due to subtle cases where use of master or slave can NOT yet > >be replaced, so a large amount of work was done by hand, inspection, > >trial and error, which is why this set is a lot longer in coming than > >I'd originally hoped. I don't expect -stable backports to be horrible to > >figure out one way or another though, and I don't believe that a bit of > >inconvenience on that front is enough to warrant not making these > >changes. > > I think this undersells the impact a bit; this will most likely > break the majority of cherry-picks for the bonding driver to stable > going forward should this patch set be committed. Yes, the volume of > patches to bonding is relatively low, and the manual backports are not > likely to be technically difficult. Nevertheless, I expect that most > bonding backports to stable that cross this patch set will require > manual intervention. > > As such, I'd still like to see explicit direction from the > kernel development community leadership that change sets of this nature > (not technically driven, with long term maintenance implications) are > changes that should be undertaken rather than are merely permitted. Yeah, IDK. I think it's up to you as the maintainer of this code to make a call based on the specific circumstances. All we have AFAIK is the coding style statement which discourages new uses: For symbol names and documentation, avoid introducing new usage of 'master / slave' (or 'slave' independent of 'master') and 'blacklist / whitelist'. Recommended replacements for 'master / slave' are: '{primary,main} / {secondary,replica,subordinate}' '{initiator,requester} / {target,responder}' '{controller,host} / {device,worker,proxy}' 'leader / follower' 'director / performer' Recommended replacements for 'blacklist/whitelist' are: 'denylist / allowlist' 'blocklist / passlist' Exceptions for introducing new usage is to maintain a userspace ABI/API, or when updating code for an existing (as of 2020) hardware or protocol specification that mandates those terms. For new specifications translate specification usage of the terminology to the kernel coding standard where possible.