Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp761599rwl; Thu, 5 Jan 2023 04:17:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXtjoy8ZCDaTZCGVgLR1I9Avq5CwqcITXxXX4P6fYQ6+ffo3RcjQvqVrQdz+uj0mK6xYduPv X-Received: by 2002:a05:6a20:2d0d:b0:a3:f233:c35 with SMTP id g13-20020a056a202d0d00b000a3f2330c35mr66420451pzl.52.1672921035198; Thu, 05 Jan 2023 04:17:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672921035; cv=none; d=google.com; s=arc-20160816; b=PHMB7ERkXEnvYZGopXLEy5hDO+S50cOiZZJ/2OJE5Lgd4FQWxr8LqRs4sX4zeZ/Lew bZwu1MMEUcqD6R1v/KhQG5vrTUyS9jQp6jealsWHR7y+eQswsxNXwNVf5yHWdMZbTPYp uACYrIkXbb6gcxX+e3bz9rav1XslO4waCzU5raAfNRWKC6AT3u00i+Yok5QecOCuxsHt ZtSJGZZ0afjDpNBZxNjPqvPJ6QAdMbtHZLxgfaciIsD8vxYUbcwf7Yv10H+cPUO+TWX2 MkOx+aiLYndHDoiA8Pr9hf5Qd9hPryE14hwkWW5Yp47uaTah9C5SHgfLR9m1de/KDrEi LirA== 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:date:subject:cc:to:from:dkim-signature; bh=dKTQgRnB76aFV0VV/gKS9UBFOAEtpSIQe9ucOKWnsE4=; b=iGAmJCpjJoX2hbEo0L3tAU5+EhRllxHTqL+HTJLakFg7Xe5mG6SgOr9Fxv5nbrbN/P djGI5KuRupqQfIKhaQQWxrw6eOkRXpp1rH+8GVwY4dldkNkclzunN8MQJK4EwynPhAhp BuQWdZDKYBp+rnNb5NVthc5lzvKxDG4VHaXZRfD3HWQFX7Ra7sJjDs8XwKDWlflDhSes rCLrWzZInstH84gxDjtvNotMqaB4x2ynpR9Z7w+1jqAs6Pce7WnHmdETEnKBiSG11Xuj WUb88+fLHpE0XJ7IGrNzdmLPwwsucqz2B5r6Ug4cFTu7C7211tkJgXiUr9iuy7nquJNy akpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AiviA3FQ; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a63d809000000b0047895cb23d2si36292598pgh.646.2023.01.05.04.16.56; Thu, 05 Jan 2023 04:17:15 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=AiviA3FQ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232942AbjAEMPU (ORCPT + 99 others); Thu, 5 Jan 2023 07:15:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231460AbjAEMPQ (ORCPT ); Thu, 5 Jan 2023 07:15:16 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B840544C7B for ; Thu, 5 Jan 2023 04:15:15 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 556FE619FF for ; Thu, 5 Jan 2023 12:15:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62282C433EF; Thu, 5 Jan 2023 12:15:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672920914; bh=AeSBPfzUznmRcyjfRTSU4vuHp39eKO5tCl0LCVap0zI=; h=From:To:Cc:Subject:Date:From; b=AiviA3FQe//RAgeqx5oKfQBNwAj3gyKAlO+/PGapcQ2GjPhgTWXBQWgtPLRK/8w+Q j/wgO1jeDz1IWSMLe3EmPeLTGtgnpAmnTcKledJdL7ItJ8EJEwIZ51jUjymIs5FUZW aEr55e2Hd+rGh8d1jVlbloY7Dk3rvNgr6MkgYGWs1FziLyX5p5lsQh3KUBV4yF4JHo gjAXZOsGzREo05yxpdfo2bxhpZRk6sfXxufNyvb6VSu8kZ1+/toz4EYNmDRCaEMXvQ tBL0or7yPf7xka/9szaVVMf7cnbZurJXqfSoR5P2Le8yxndjr+t//E3NXa7lVzCO89 6y348FCsoyH3A== From: Jeff Layton To: chuck.lever@oracle.com Cc: linux-nfs@vger.kernel.org Subject: [PATCH 0/4] nfsd: filecache cleanups and optimizations Date: Thu, 5 Jan 2023 07:15:08 -0500 Message-Id: <20230105121512.21484-1-jlayton@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 This is just a small set of filecache fixes and cleanups that I put together while going over this code. None of these fix critical problems, so these are probably v6.3 material. Jeff Layton (4): nfsd: don't open-code clear_and_wake_up_bit nfsd: NFSD_FILE_KEY_INODE only needs to find GC'ed entries nfsd: don't kill nfsd_files because of lease break error nfsd: add some comments to nfsd_file_do_acquire fs/nfsd/filecache.c | 52 ++++++++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 22 deletions(-) -- 2.39.0