Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp4017185rdg; Wed, 18 Oct 2023 12:18:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEfZgou1ondOqVSteZyHnz5oiMY3Amk/wPuNKmuXgOuVNVXHT0CZdisWuGAAoYU+gZaC4JL X-Received: by 2002:a05:6870:be99:b0:1e9:feb7:71db with SMTP id nx25-20020a056870be9900b001e9feb771dbmr286682oab.36.1697656709388; Wed, 18 Oct 2023 12:18:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697656709; cv=none; d=google.com; s=arc-20160816; b=VYrDg7et6+jlNhJUT04C8h35NuU+4EdJTyBh0hf+UF/PMobl+nHAvJwBuOT4iLTIlJ /a5rbJcMAwyu4cahUvQt60+x+HNEDyb9R1cDpJi1DqqJeIQEJ41oPY9/QGKJICjRiSn3 W0UjZvWJ40DaGsKBrUd7Xat0Cq3WbBnmt/2h37GHU8Q436xsdQ7x8jFD5TGN5wtURlWR 5oxCPGz2Bup3V4uCPmGhi9D0tG1lAZPezeUiAkQ1yru8bBNRZEGZ4my9bPascIvhTuzu lkCo9849TyLNxEKTrU1mnTggRSkjqkBJmIA9vwFviXzw79p1yS4C3xZf+MlF+nLgiDrm Tshg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=lu437WjNSu6i//MOAAY7wGRxXw17gbmp66hPzlAp+CE=; fh=QbDzsCxcx6jm26ladOVOua4sU2Gn3OsENEkRphkHHLc=; b=SZ94UjaPfvshpdOhDZogg3gRkW1LYjSrywCFj0tOIG6cViClo9bZKznEUS4Z4qjrrP IIIanav3rK/y5Y3BHyJ/Dx6m7BBjcelml2boFmiFoaEcyyiSOTjeAsYp9pCszj0L3A8U /EFDFRRV4oBKBxWCxybPK+V3dKURBb4zKNoN9W+TSxIh8vHZsvhyjjIj7A96BHYrZ2zM 3DH9F2Md+JnrDZsZO2GFG/s/K0co8mUYDCCY92x8STLJe5tHjezTIAH291baZXO1yyrN vez45jX0tOfs8SlfieQnDoQL3yYj2eJTyPSi2zFfeiTknA/bOSNHKWi10z9OfTVCVDfH uu1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Ergq/z9H"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id b30-20020a63715e000000b00565e0624182si2605772pgn.404.2023.10.18.12.18.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 12:18:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Ergq/z9H"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 60C9981143E6; Wed, 18 Oct 2023 12:18:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229702AbjJRTSY (ORCPT + 99 others); Wed, 18 Oct 2023 15:18:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjJRTSX (ORCPT ); Wed, 18 Oct 2023 15:18:23 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11899114 for ; Wed, 18 Oct 2023 12:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697656653; 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=lu437WjNSu6i//MOAAY7wGRxXw17gbmp66hPzlAp+CE=; b=Ergq/z9H5Wr4wtAuvciLw7k/4K7Wx9lz3h6zFaKa+qZdkFTo9RGmvsCRM1iXVemonkiXFX eIlT9ssi2yytwdP2iObH7UIELU2ZoN26iWWjuYAYa81xh+18hNxSD4ird1GKNBog0sxoSp ekafPWGHwCGWoffSmRT/ae4W4gwLIlY= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-683-SgZ5bKLINf6J-EJQ5RI2KA-1; Wed, 18 Oct 2023 15:17:24 -0400 X-MC-Unique: SgZ5bKLINf6J-EJQ5RI2KA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4FF0710201F0; Wed, 18 Oct 2023 19:17:24 +0000 (UTC) Received: from [192.168.37.1] (unknown [10.22.48.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 57AC2492BFA; Wed, 18 Oct 2023 19:17:23 +0000 (UTC) From: Benjamin Coddington To: Anna Schumaker Cc: Chuck Lever , Jeff Layton , trond.myklebust@hammerspace.com, linux-nfs@vger.kernel.org Subject: Re: [PATCH 2/2] NFSv4: Allow per-mount tuning of READDIR attrs Date: Wed, 18 Oct 2023 15:17:22 -0400 Message-ID: <5468EC9F-A80B-4F63-90AB-1E27B9E8C227@redhat.com> In-Reply-To: References: <6157b73e380e5b625cd8ed0133ef392d0dd4bd8b.camel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 12:18:24 -0700 (PDT) On 18 Oct 2023, at 14:38, Anna Schumaker wrote: >> It's not yet clear sysadmins will even need a switch like this, so I >> would go further and say you should hold off on merging anything >> like it until there is an actual reported need for it. >> >> Now, full control over that bitmap is still very neat thing for >> experimentation by NFS developers. Hiding this behind a Kconfig >> option would let you merge it but then turn it off in production >> kernels. > > Definitely a neat thing to have, but I'm also in favor of hiding it > behind a kconfig option to start. Ah, missed replying to this part in the last message: Ok, if my last message isn't convicing enough, are we talking about something like CONFIG_NFS_EXPERT_SYSFS? I'm worried that trying to make NFS nicer/safer in sysfs just means we're gatekeeping what's already a complex and breakable set of technologies in the one place (sysfs) where we can actually expose some complexity. Ben