Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp647153rwe; Fri, 26 Aug 2022 11:29:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR7OJS6ZgKTduYa1ZNuukyBbEWHFpIDQdCjp9aHA61gBibFJ29NHUAy3Nz5592p4fpI7XPx9 X-Received: by 2002:a05:6402:34ca:b0:446:d718:58be with SMTP id w10-20020a05640234ca00b00446d71858bemr7573479edc.40.1661538550533; Fri, 26 Aug 2022 11:29:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661538550; cv=none; d=google.com; s=arc-20160816; b=gXtEgeGj2dyoWNYNfMCi6P5YthI87Ns8Rtwk1z4v7RP/Bk8SsexbghoRRSWYSkVmSq p4mSvpW7GwARvvX82oY1sQzYNf1Zc76dbLTujql50B8+wCzSw91sSfntpbdY0NMt0ACV p1nAzvsrW9wtPdf4HvfvoLFpLKJoQiXyg0KzoYhTElieM2Lrxie4U/+P81a3mtpJsl6C yt/7jvB4iK5audmnj1RKg0qnWjHtGTZHL9vZ8CUogsKgCx7hMF76jYZawyZgUT6LwX7l 1D+r9uaR/+ai8VjONjWlJHgMvArP6k1kaQZzAafO3vOifZ0LQbXoN5Ubi1pJ3O4WY+0B ozXQ== 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=FaKEYNB6y5v/Ekh4SL1N4iTiFI1VS/8XS6d+uMaleJQ=; b=Dl+gs2Q4JTG5OEuau/pViCrRt51HuK02mQCneiAw+NHgVASaVRnTkEyx1Du6gFOjE+ bjXWhUqdNt0stpveD1WflxqN+zFDlWxmRO7BgV8+KffH6rWp6U9zPVNqiPDaYfXSOmRL of6GhAVU0zl1k52KjLELdPtR/udprMKPDAavbL+v1fYAEa5nn1JV9acZQtGLtgyFV9rG D/Z7Pers8eMr5KhHBTP9Ur7Yzowy+NjorjoBNFDaSaP+OJa/t/x/9UjFoxclaJlhWfnD rCv/FCQqRRz07MDbsFCTMU33eegjeB6wcJV+hoSmMKk1uV6p2kWh7SjrYDSWhnIMzxsu yszA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bDEC9xSv; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a50c38b000000b004469b2d6c24si1644735edf.102.2022.08.26.11.28.32; Fri, 26 Aug 2022 11:29:10 -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=@redhat.com header.s=mimecast20190719 header.b=bDEC9xSv; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238142AbiHZS1h (ORCPT + 99 others); Fri, 26 Aug 2022 14:27:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231216AbiHZS1g (ORCPT ); Fri, 26 Aug 2022 14:27:36 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DD98D3447 for ; Fri, 26 Aug 2022 11:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661538454; 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=FaKEYNB6y5v/Ekh4SL1N4iTiFI1VS/8XS6d+uMaleJQ=; b=bDEC9xSvNwd2CuwBe2CD+MjCGRsxd12e+cX6Nkg2W9SwSDk5klWc+696nT0/NgBfT3dRvZ vBTmwBHWpyNxvuTz97RyTSRPBGTa7ipCrHN8pfahgo2xTWUZjx1uilBwyn8P9xz9kVF3Wu dLlZ5DirDfnjedXfXzQmcDHLKeuCko4= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-622-FI-e518FO9a94-PlaB0GiQ-1; Fri, 26 Aug 2022 14:27:32 -0400 X-MC-Unique: FI-e518FO9a94-PlaB0GiQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8BD5E3C11991; Fri, 26 Aug 2022 18:27:32 +0000 (UTC) Received: from [172.16.176.1] (unknown [10.22.48.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F17394010D45; Fri, 26 Aug 2022 18:27:31 +0000 (UTC) From: "Benjamin Coddington" To: "Trond Myklebust" Cc: anna@kernel.org, linux-nfs@vger.kernel.org, neilb@suse.de Subject: Re: [PATCH 0/2] NFS: limit use of ACCESS cache for negative responses Date: Fri, 26 Aug 2022 14:27:30 -0400 Message-ID: In-Reply-To: References: <165110909570.7595.8578730126480600782.stgit@noble.brown> <165274590805.17247.12823419181284113076@noble.neil.brown.name> <72f091ceaaf15069834eb200c04f0630eca7eaef.camel@hammerspace.com> <165274805538.17247.18045261877097040122@noble.neil.brown.name> <165274950799.17247.7605561502483278140@noble.neil.brown.name> <3ec50603479c7ee60cfa269aa06ae151e3ebc447.camel@hammerspace.com> <165275056203.17247.1826100963816464474@noble.neil.brown.name> <54685EB8-7E6D-4EC4-8A9E-2BF55F41DABA@redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,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 26 Aug 2022, at 12:56, Trond Myklebust wrote: > User group membership is not a per-mount thing. It's a global thing. The cached access entry is a per-inode thing. > As I said, what I'm proposing does allow you to set up a cron job that > flushes your cache on a regular basis. There is absolutely no extra > value whatsoever provided by moving that into the kernel on a per-mount > basis. Sure there is - that's where we configure major NFS client behaviors. I understand where you're coming from, but it seems so bizarre that a previous behavior that multiple organizations built and depend upon has been removed to optimize performance, and now we will need to tell them that to restore it we must write cron jobs on all the clients. I don't think there's been a dependency on cron to get NFS to work a certain way yet. A mount option is much easier to deploy in these organizations that have autofs deployed, and documenting it in NFS(5) seems the right place. If that's just not acceptable, at least let's just make a tuneable that expires entries rather than a trigger to flush everything. Please consider the configuration sprawl on the NFS client, and let me know how to proceed. Ben