Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp579071pxu; Sun, 22 Nov 2020 20:37:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyy4qlhzUz7Z2AvXowUPgn2tr9BFGbH9szPtniWP+gaRB5UXA0y2jR+E0oAIdpzWKql0irz X-Received: by 2002:a17:906:b2cf:: with SMTP id cf15mr7871261ejb.525.1606106244815; Sun, 22 Nov 2020 20:37:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606106244; cv=none; d=google.com; s=arc-20160816; b=F3cnZ+3ij38MtxitdBFdVurA9Soc3osRu24sDq4BZhJZkaPYkpKl/nZWD/T2ARuQlu pVddQjMPeRxawZTR3gRf4MMmRqhJrW2R4ViVGndvLnJRdYAdQpx49g+JJakoLTC/f4od wOuNCAppw3a1+Nff+GVOrtbxJOu895O9+xYBgmc1LV7Z5gm2FmvqRVWriF/vRvJE79Iy dfwguyOOjIFoZt3swWR/fKXTEmidrOkRe9wAt5ZwNtZ2yAbaIec+z6t5pAPvviCVtwRx YvwAnYENK0f+Kxu4OtuoQUcsQAFl51zjW2YxF8h0FNAXtbwwcTFR3g2j+atYpaK/QXSz 5geg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=fyhlt2yMh9EPFXRVNXM1RHxmP2uagn8aXC85b4vBVaI=; b=dYmtm3+SPSfip3daUk/Nv3ASg8Mog3yPA25ARQL5ufNwWNxWI/RM36dhpas0TI7V2T c1zWXW/OiTZbLu1+OXyBi3xBLRcrVQthUo+jv2rI+y280aog6DPH02XxWr0aGh6i5hO/ oS/iYJ8blDdIAe2gueuQ77siXsvhrVm/XgWDVfYO0iO+GKOINUpCH2AJQra/SKWphwJJ gZ21y3qQToj32UVlGOOXyQ6/nWPgR+XOfKpHFdgVf0wFD/OkLlo/0Co/WNMTPYH6Q+mC kT6DueoUBqbUvFmg/qQcaSsCgt1Pjt6VJK02KdvzLbnUTwr97tezs0ucmVPqHw+THuuS yQPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OmLjTRtx; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si6039215edr.30.2020.11.22.20.37.01; Sun, 22 Nov 2020 20:37:24 -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=@redhat.com header.s=mimecast20190719 header.b=OmLjTRtx; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727502AbgKWDkF (ORCPT + 99 others); Sun, 22 Nov 2020 22:40:05 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:52317 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726831AbgKWDkF (ORCPT ); Sun, 22 Nov 2020 22:40:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606102803; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fyhlt2yMh9EPFXRVNXM1RHxmP2uagn8aXC85b4vBVaI=; b=OmLjTRtxa7u3uwDMV4HQi3aTOPvXf+cBQJ4RjvkjeujE6Nma4WVTvVQotjsbPSsafHc87m yGiSO54TlnRQpIyMRyu21ym1SW1qRg6tGbKUrqMFBc279njvdiiSonIpFwPoSEd9R9K1lO 5KekhFtQ68RTBMpwmTmBmZq5Xuk88xA= Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-288-BKHJa4hAOiqO7EewWrHZrA-1; Sun, 22 Nov 2020 22:39:31 -0500 X-MC-Unique: BKHJa4hAOiqO7EewWrHZrA-1 Received: by mail-oi1-f197.google.com with SMTP id x131so8025998oif.1 for ; Sun, 22 Nov 2020 19:39:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fyhlt2yMh9EPFXRVNXM1RHxmP2uagn8aXC85b4vBVaI=; b=PhqYLgX6fZ3PcFhCLoyyQR+VQvtCftfV0p9y7nw0aw5U3U2PZjLoYse1/1R+3d35ej Q61KexVmHe80TTXLMHQm69GleG5QJuAvsOIR9hpbPtyj6mccr2pZDMEowGeTRno1d+91 07DyVzB0QPpTOD/QXa8Ogx/vuVK14N8yeNCMG7z8m2fo/ia5c+hXRTTQSu1VhH+G+9Mv rEl/DkoUpQzyebmxwagK/cISK0H6wOf76F4t5bKfA0TY8ouCBx3UytXZYnseYcw7mdIG S/wr3ByMzXlhPzueOPLzDA/JmU2qW/1LrWTP7dIcNOCCY3cnmrcsBtibTHXPHKJnGfew AHCg== X-Gm-Message-State: AOAM533/+yjxzslwI28rx0Ln09WUIeUIsKG/HLkowCvtO55bsNGTj4jr Bw480zOvTKoY6JZcWnyrm07qWmYUTWm7YwZT104KpfhoGGtG0m/1CPHLIqzOLtPs+tuVVn7m5zW B6S0iOvMumxmnUcRSUrps5zxjCH8irI75UnHUe3Qh X-Received: by 2002:a4a:9f16:: with SMTP id s22mr21338262ook.20.1606102771079; Sun, 22 Nov 2020 19:39:31 -0800 (PST) X-Received: by 2002:a4a:9f16:: with SMTP id s22mr21338250ook.20.1606102770835; Sun, 22 Nov 2020 19:39:30 -0800 (PST) MIME-Version: 1.0 References: <20201106200436.943795-1-jarod@redhat.com> <10065.1605125636@famine> <20201111140429.25ab20b1@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201111140429.25ab20b1@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: Jarod Wilson Date: Sun, 22 Nov 2020 22:39:20 -0500 Message-ID: Subject: Re: [PATCH net-next v4 0/5] bonding: rename bond components To: Jakub Kicinski Cc: Jay Vosburgh , LKML , Veaceslav Falico , Andy Gospodarek , "David S. Miller" , Thomas Davis , Netdev Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 11, 2020 at 5:04 PM Jakub Kicinski wrote: > > 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. Haven't been able to put much time into this the past few weeks, too many other things going on leading into the holidays... But I think Red Hat's general stance on this is that leaving things the way they are is akin to condoning them. For change to happen, change needs to happen. I know this starts to get political in a hurry though. I'd like to see the changes made, even if there's a bit of pain involved (clearly, since I've dumped this much time and effort into it so far). :) I'll try to address issues raised with this version, including the checkpatch bits, but it may not be until after the first of the year at this point, with assorted projects trying to get wrapped up before the holidays, then the holidays themselves, etc. -- Jarod Wilson jarod@redhat.com