Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp80651iof; Sun, 5 Jun 2022 21:45:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4p2aBLy+khy9ZXd4r5Cy2scNUGEPI1HNbaWyR/1uohvcXnVzdW8vhmwk5NnoWD4YRzP4i X-Received: by 2002:a17:902:aa4b:b0:15f:b2c:73c7 with SMTP id c11-20020a170902aa4b00b0015f0b2c73c7mr22207853plr.164.1654490738357; Sun, 05 Jun 2022 21:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654490738; cv=none; d=google.com; s=arc-20160816; b=jU1r7EwhXKAm9fmp79yIVxN0exviIzC9FPJr8JwMqA46p+QbLcp2Pe1v05YgEzzk03 ZfW+feu675r3oXNhnPO0QUN/47tScRtpOrjUgNd/UPxRyRbSwxOWCXzD4JFAsOIJqgiv Z1mKxrFGU3ibVxYJ+wPi6PQtAombTGKEZovr63mfd16OzENZ0UyFO58LjH2AEWsTmnEa avptYcPVW0MNxVkftbX7ZEp31N7asqlfyxu6rw9smhSJvMaFL3OScE1yqAwHrxzW9CDF r0FWRCN/E3bIZ5qDoyxe8rLPpPJ8k1d3N8CzxdU6NBMf4twa899RWHnJZ/lCkMfXwQpH 1oFQ== 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 :message-id:references:in-reply-to:cc:subject:to:from:date; bh=ysJZ7HNfgnPg5c1BGxg/DCXKQqFd1dBeLMH+iVgYTvQ=; b=ljX40fsgEwjKoMXycrCpDvajztwvw3mOVHQhIMfPUcKMJpga1wv79fj7wPKtAAW9AZ J3yUHDxiH+qkRUlfNSv++bn2aanYNxc98SmpmRB6P2ZPGSMUPlNL4Fe66AWK8vdlOttw P18fMxgsgXYhMJ5Zq3X9qPqz1t3A+bz672Ukcxbih89+fQ9GTXR8ZGZNHZRLdbMfTBDe AWTIxBQ+J/j7RQPm8OJOzp9GJOJvhTku8U2jir5JsMlcnnAWDRI3pW8lgbu5t6TuSXCz 5587VzS8MnU57Hu4H0FD35lZBDaXlCff/UpCGBttuqUXOXK20iUkWPzoqBs7y/yBExKv d3tw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q4-20020a17090311c400b001677e4d8420si3754173plh.467.2022.06.05.21.45.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:45:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 181F61B7B1; Sun, 5 Jun 2022 21:03:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238071AbiFDQPA (ORCPT + 99 others); Sat, 4 Jun 2022 12:15:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbiFDQO4 (ORCPT ); Sat, 4 Jun 2022 12:14:56 -0400 Received: from out20-25.mail.aliyun.com (out20-25.mail.aliyun.com [115.124.20.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CD682F39D for ; Sat, 4 Jun 2022 09:14:53 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.0602784|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_regular_dialog|0.00982534-0.000584877-0.98959;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047204;MF=wangyugui@e16-tech.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.Nz4mdg-_1654359289; Received: from 192.168.2.112(mailfrom:wangyugui@e16-tech.com fp:SMTPD_---.Nz4mdg-_1654359289) by smtp.aliyun-inc.com(33.37.68.185); Sun, 05 Jun 2022 00:14:49 +0800 Date: Sun, 05 Jun 2022 00:14:52 +0800 From: Wang Yugui To: Chuck Lever III Subject: Re: filecache LRU performance regression Cc: Frank van der Linden , Linux NFS Mailing List , Matthew Wilcox , Liam Howlett In-Reply-To: <1D00FCD4-8EFE-4080-A706-61FD7886CA52@oracle.com> References: <20220602094956.A396.409509F4@e16-tech.com> <1D00FCD4-8EFE-4080-A706-61FD7886CA52@oracle.com> Message-Id: <20220605001452.5CD6.409509F4@e16-tech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.75.04 [en] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no 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 Hi, > > On Jun 1, 2022, at 9:49 PM, Wang Yugui wrote: > > > > Hi, > > > >> Certainly, though, the filecache plays somewhat different roles > >> for legacy NFS and NFSv4. I've been toying with the idea of > >> maintaining separate filecaches for NFSv3 and NFSv4, since > >> the garbage collection and shrinker rules are fundamentally > >> different for the two, and NFSv4 wants a file closed completely > >> (no lingering open) when it does a CLOSE or DELEGRETURN. > > > > if NFSv4 closed a file completely (no lingering open) when it does a > > CLOSE or DELEGRETURN, > > then the flowing problem seems to be fixed too. > > https://lore.kernel.org/linux-nfs/20211002111419.2C83.409509F4@e16-tech.com/ > > I agree, that's probably related. > > But let's document this issue as a separate bug, in case it > isn't actually as related as it looks like at first. Can you > open a bug report on bugzilla.linux-nfs.org? kernel/server > > -- > Chuck Lever I opened a bug report in bugzilla.linux-nfs.org https://bugzilla.linux-nfs.org/show_bug.cgi?id=387 Best Regards Wang Yugui (wangyugui@e16-tech.com) 2022/06/05