Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp262673lqs; Tue, 5 Mar 2024 00:54:56 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXi18gXUq0EnsuPk4+UOFFFut7o77/UlesRuBE6ecEBoHM1Bcbs7m2vL2U/G4RVmU/lQep4ci1R9+fA+lP4YvgliEurYa8QBcrCzC3/+A== X-Google-Smtp-Source: AGHT+IH84xzyQoxzCulkBdGGbrR4SgVYljkQpGHsTRL5Jzp7mzT6b/R7br9C2UEzkvgxE859qDYn X-Received: by 2002:a05:6a00:124e:b0:6e5:9a0a:8b8d with SMTP id u14-20020a056a00124e00b006e59a0a8b8dmr14411840pfi.18.1709628896058; Tue, 05 Mar 2024 00:54:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709628896; cv=pass; d=google.com; s=arc-20160816; b=JX1CyFR7nbSsWL3xc0swGJfMML1EUlgkFkK+UZ7U0Fjkyg89GSbrhWr7HdqvGTDmw+ qICrqyYzNAkAK/nRfAsSAa2vKh1SIdVOTQ9k0eRQhpEuTYMYNf4tt6RPwzbNhmNX9n/a 7rpH3vXHmVOzoV6OoMxYJ8/vvvWx0hVlYOKxCrBYFRV9OTIw+1x4KkYpUWxIyyx+A2df ARQahelcymuQ+R2HDWUr0q05y1Ajc6UYJOQzcrivzeTXvQTigRnupZMT9hF+MzkWuRgz P9YJR5aAILq+Uplt/hNuICHP09zWcaZYBgqkd93yri2IPbm6Nk3YkNko63WYT8hYaayE Uh0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:dkim-signature; bh=AftuuQaDTKEqmo9pc4NdWlgn8uQRfxWITGOTQAHvk6U=; fh=Mys3y4MwsHRytUQMpdfGBn3oGRYLcLloxNwkFYMYMmg=; b=zVfy1CNF94WovGl9Wja3JQoQl1ySCjjPoN8C+bvo3WL4HhULiyI4vmIOFnFZdHYM27 PLNMU8xLEg03F1aEMQZ9jnLFUMxp7IX9gFWjFXklE5pNRVJjJLa8EHb8GJtbBKFW++Vn LclY1TE1GOts8fgLxRsZKoOF7LVjdv/J9K/JFrEtKLDoqTpLa2VGF0VhI4enwv168Vz1 Ovhc+NtgkO50gFwu+YwvrwfAjr70Wfe4XHy9DWcslQuetxWs4RG/OEnbXdoJcwXlVjwD rwP3ypkn7wmhXkdNzPq8T/jB6otXMMzOBAm68RrcHtwDfuDoyNzsG0l8h5iiTWdv2pqN WBBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ksqgpo7V; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-2206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id fn7-20020a056a002fc700b006e13ce606c6si9333348pfb.110.2024.03.05.00.54.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 00:54:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-2206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ksqgpo7V; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-nfs+bounces-2206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id CC444B20A2C for ; Tue, 5 Mar 2024 08:49:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABF1C4CB58; Tue, 5 Mar 2024 08:49:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ksqgpo7V" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02E9A2745C for ; Tue, 5 Mar 2024 08:49:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709628588; cv=none; b=OJ7IpCmpMXtZhUuOenvYmNFdynla4BHDXA0Vc9FwDGqRMx1w5fyGu2W9RI/B0WxBFDIkg6QDWrM4FKWm7oByYwS8s6P9JKUvRSIPCkwSIi3aO22/yPDdCHRgkkrJ2dZOlmSfgm690Af80FUnZGzFvfjZ/UTWLm25lPyb0ILGnxc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709628588; c=relaxed/simple; bh=U/ZL9lynBEk1Mv7Pi3slpWsW7n10cu4KwVND4lGhLhA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Content-Type; b=ZbvZccL/RyxgHweWbQ9L39tJcecTiakfC6cYbSb6x+mRYT70skfMn7wVUDUcMJoD1fN6VtgEkjN5kYKD2Fgbe3i3VL0Dt++3tmvgLMjt1TJkU0adCYcI4pcS272dpnDUpkFcWMRxw06+SaHW5qqal9ZXU8TNoXPSyqaIvDzLuBc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ksqgpo7V; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-55a179f5fa1so7890875a12.0 for ; Tue, 05 Mar 2024 00:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709628585; x=1710233385; darn=vger.kernel.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=AftuuQaDTKEqmo9pc4NdWlgn8uQRfxWITGOTQAHvk6U=; b=ksqgpo7VA9oWPSjfPoOjRlyk0FG6p+zqTGYe0fSldwDM+oYCPCvTn34/u+pRzB972L 9QQHquz4b+uNq5/bw5Bmkg4sj6jRgAglP74trBH/vZAhaT/9dLnZzoHCkqH8AJr1QdV4 lCY+F7ZGxEiaekQGvPMxbb+1xAYsBp8htAsakVmHnDnJCpcDfzPjZ7SZN5azTk8g15TC BUXXTX7hs74DUmiVA/zLJirlpivK5vwhgoPYqtoNGPHVznBhFKbUz7Qo35990NKes0mD nwtWuuD0Lq4zSoiNAZWQwhbcXKYreypnQNO5Z3Mon7F4LnK+D+Xf42DsB6kN/tVrgNZC jGtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709628585; x=1710233385; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AftuuQaDTKEqmo9pc4NdWlgn8uQRfxWITGOTQAHvk6U=; b=u7Bjaay6ioZ/F9EsbRnBygJcCmkKF5hDR/6rbYjfvKwHkco8QlQq+/HVLWv7xjt3Wu pM7tIpzGuuzzo2EyMxv/fG89fvuz3ed5JbgXvfiOxx3HuqOw54Tn2xZ3/3p2DxeKKUh4 Z9FnWMdlPqATVg52egBpTBteiXnpRYqpzKHGYW+2PwqYaev2MI00eSl3kzAzSkVeh/H/ ObMa5kLxot7vDZWUexYACgIuw0YiLJHXcjaf8AYWq5dDJdQyQsO7EztXAEerZWnNbnXd zg+h+BS1aPqw/vQbq5QVPrJ4tSb3TkFc/xYwixcOtJzcAjHHJCGz/y28hY3fjj+SnQA5 EGkA== X-Gm-Message-State: AOJu0YxMNWjdY5yfIsDRqwrv3pkS/bvXmrkJncdgesg1tV5iI7hwpp/F 73Qj4/si1VQQBkYtwuZLGByLwHmNce9/wGKrYa+wJdxOUjc4/Isu9h3wKMb1XpvAUPz3tgNQ4KK wGzcPONMhHvqF/W16S5PEsNHHwIAEeUei X-Received: by 2002:a05:6402:3584:b0:566:f66d:bd38 with SMTP id y4-20020a056402358400b00566f66dbd38mr7088866edc.25.1709628584858; Tue, 05 Mar 2024 00:49:44 -0800 (PST) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <1709504582-8311-1-git-send-email-dai.ngo@oracle.com> In-Reply-To: <1709504582-8311-1-git-send-email-dai.ngo@oracle.com> From: Cedric Blancher Date: Tue, 5 Mar 2024 09:49:08 +0100 Message-ID: Subject: Re: [PATCH v2 1/1] NFSD: send OP_CB_RECALL_ANY to clients when number of delegations reaches its limit To: linux-nfs@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Sun, 3 Mar 2024 at 23:23, Dai Ngo wrote: > > The NFS server should ask clients to voluntarily return unused > delegations when the number of granted delegations reaches the > max_delegations. This is so that the server can continue to > grant delegations for new requests. What is this limit max_delegations? Where is it set, and where can an admin alter it at runtime? Are you aware that for example the msnfs41client Windows NFSv4.1 driver easily uses a few hundred delegations, as required by the highly multithreaded nature (i.e. every Win32 syscall is async) of the Windows kernel? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur