From: Dai Ngo <dai.ngo@oracle.com>
To: Cedric Blancher <cedric.blancher@gmail.com>, linux-nfs@vger.kernel.org
Subject: Re: [PATCH v2 1/1] NFSD: send OP_CB_RECALL_ANY to clients when number of delegations reaches its limit
Date: Thu, 7 Mar 2024 10:14:37 -0800 [thread overview]
Message-ID: <5772a8a3-57d2-4885-a61c-fb1db252b2a9@oracle.com> (raw)
In-Reply-To: <CALXu0UeJ-s4hOmjOa=SndBx15a1VmEXmGcdhhbouMrSPTMni9A@mail.gmail.com>
On 3/5/24 12:49 AM, Cedric Blancher wrote:
> On Sun, 3 Mar 2024 at 23:23, Dai Ngo <dai.ngo@oracle.com> 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?
4 delegations per megabyte of available RAM.
> Where is it set,
when nfsd starts up.
> and where can an
> admin alter it at runtime?
There is no admin tool to change this setting. But if you want to
play with it then you can poke the memory and change its value,
The code uses max_delegations dynamically.
-Dai
>
> 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
prev parent reply other threads:[~2024-03-07 18:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-03 22:23 [PATCH v2 1/1] NFSD: send OP_CB_RECALL_ANY to clients when number of delegations reaches its limit Dai Ngo
2024-03-04 6:20 ` 回复: " Hanxiao Chen (Fujitsu)
2024-03-04 12:57 ` Jeff Layton
2024-03-04 14:11 ` Chuck Lever
2024-03-05 8:49 ` Cedric Blancher
2024-03-07 18:14 ` Dai Ngo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5772a8a3-57d2-4885-a61c-fb1db252b2a9@oracle.com \
--to=dai.ngo@oracle.com \
--cc=cedric.blancher@gmail.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox