Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3777260rwb; Sun, 30 Jul 2023 16:09:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlGu+xjKc4pJkuW/yZoIKieSvBspE3DLUCtBqF0WdfUSXtfdNppPXQKQcM1HsKYOAsyPz/NV X-Received: by 2002:a05:6e02:1569:b0:348:8396:9f88 with SMTP id k9-20020a056e02156900b0034883969f88mr7314995ilu.9.1690758577492; Sun, 30 Jul 2023 16:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690758577; cv=none; d=google.com; s=arc-20160816; b=BDaSjCe4bBlVy4WGx7qPdGNitPBqdIOI3NYTqPTvRoKxX2amYrKjqQSSU4mSlSMVrn xjcw1rw9CUrpKgRK8sEdWUJSekVWKicMPdlXWzFhyfez0v8aHzIpff25jcyxGZEq9LRh mdzFqeOl+aPAORqfgS1KaQDGQkLeGzQkO0Idu2ABY/UlAhLSgf7aTvsEixO4RWCWy95R W77Gj8fpokMf7C/DHPbbtqtziLZNhkAHAapJLTx/MX0kqHZt1NOidJ09zbGPor/K6Xcy 0SyK2B6dOVOYRzM8XffhVP3kjxMb5AWaO/alB8nzcaQEXb+rpWLVq5GolXgcuVHkLGug KCcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:references:in-reply-to:subject :cc:to:from:mime-version:content-transfer-encoding:dkim-signature :dkim-signature; bh=e4Gzu0UQHSbYf8d6PrfpRq7iOpvSg7bXLOhZcY4AVhY=; fh=Og5waxCbnjRBFTPBetUeFbQLcOt6k9dKByzVvH6fLcs=; b=eax3EMGnZt0Z3ixzSkToLE/J520kDa0pV1wL2SyM8j1k/CoYqZdg+bTjpbZa+zHZ5l SswUX+4GGD/mKy0olTvTs1iVFYgQoAV4z7/jel0G5JhIWSXYGHXasC3VXa+UL/5e1LjR jI+p6gfg3OciU4QcY/sNW+tgVqQL4Juam3jxGT7fmF/ukL7Z/lVaCqcbIuN5RoSyKxcr DjQLEq+9/rxthQKCpBdeLbfYbkTLxtqKfYWuLxR54Y5TchifhosycKCCDYiOiIX+RffF 0eqzWoy5DHu9P2HmocybgjqJ2kd3dUTo4axSw869XUdcQIScdaEsjZ5v3Ns9Gj6MEE6T qtkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=yzeC+UwQ; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u70-20020a638549000000b00563f74f5ce0si6194841pgd.829.2023.07.30.16.09.15; Sun, 30 Jul 2023 16:09:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=yzeC+UwQ; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229487AbjG3WLe (ORCPT + 99 others); Sun, 30 Jul 2023 18:11:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjG3WLe (ORCPT ); Sun, 30 Jul 2023 18:11:34 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F41D10D3 for ; Sun, 30 Jul 2023 15:11:33 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 14EB51F8A4; Sun, 30 Jul 2023 22:11:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1690755092; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e4Gzu0UQHSbYf8d6PrfpRq7iOpvSg7bXLOhZcY4AVhY=; b=yzeC+UwQ6m60dDW4XbTC2A9ri9IG0/ZxXZQ7DlQDu+/EaFEttBkS5iF4VGg6Ll5/XiuSqM Q+yZ96jCGPhnxCBpkbOuuGsKjZn67wcymrLc8XWEIpFxtajp0R6T5sIfaObu+Rkxt/sal/ 2N8+6ycZvRZ/3SxEMTikcADO7qerwrY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1690755092; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=e4Gzu0UQHSbYf8d6PrfpRq7iOpvSg7bXLOhZcY4AVhY=; b=l7cYC0fn1EoCHfD3p48cW6OZazThqkd9+hU0jQNA4hzTNDUIoF1cXVduNS9t42J8Lk23H5 ncZDZIkBo0SPxqAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id CA3F013595; Sun, 30 Jul 2023 22:11:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id M+LtHhLgxmRSPAAAMHmgww (envelope-from ); Sun, 30 Jul 2023 22:11:30 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: "NeilBrown" To: "Chuck Lever" Cc: "Jeff Layton" , linux-nfs@vger.kernel.org Subject: Re: [PATCH 06/14] SUNRPC: change various server-side #defines to enum In-reply-to: References: <168966227838.11075.2974227708495338626.stgit@noble.brown>, <168966228863.11075.8173252015139876869.stgit@noble.brown>, , Date: Mon, 31 Jul 2023 08:11:27 +1000 Message-id: <169075508761.32308.11692865993389725826@noble.neil.brown.name> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, 31 Jul 2023, Chuck Lever wrote: > On Tue, Jul 18, 2023 at 09:37:58AM -0400, Chuck Lever wrote: > > On Tue, Jul 18, 2023 at 04:38:08PM +1000, NeilBrown wrote: > > > When a sequence of numbers are needed for internal-use only, an enum is > > > typically best. The sequence will inevitably need to be changed one > > > day, and having an enum means the developer doesn't need to think about > > > renumbering after insertion or deletion. The patch will be easier to > > > review. > > > > Last sentence needs to define the antecedant of "The patch". > > I've changed the last sentence in the description to "Such patches > will be easier ..." > > I've applied 1/5 through 5/5, with a few cosmetic changes, to the > SUNRPC threads topic branch. 6/6 needed more work: Ah - ok. I was all set to resubmit with various changes and re-ordering. I guess I waited too long. > All this will appear in the nfsd repo later today. Not yet.... Thanks, NeilBrown