From: Dai Ngo <dai.ngo@oracle.com>
To: chuck.lever@oracle.com
Cc: linux-nfs@vger.kernel.org
Subject:
Date: Tue, 12 Jul 2022 13:09:11 -0700 [thread overview]
Message-ID: <1657656553-16493-1-git-send-email-dai.ngo@oracle.com> (raw)
s patch series enforces a limit on the number of v4 clients allowed
in the system. With Courteous server support there are potentially a
lots courtesy clients exist in the system that use up memory resource
preventing them to be used by other components in the system. Also
without a limit on the number of clients, the number of clients can
grow to a very large number even for system with small memory configuration
eventually render the system into an unusable state.
---
Dai Ngo (2):
NFSD: keep track of the number of v4 clients in the system
NFSD: limit the number of v4 clients to 4096 per 4GB of system memory
fs/nfsd/netns.h | 3 +++
fs/nfsd/nfs4state.c | 25 +++++++++++++++++++------
fs/nfsd/nfsctl.c | 10 ++++++++++
3 files changed, 32 insertions(+), 6 deletions(-)
--
Dai Ngo
next reply other threads:[~2022-07-12 20:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-12 20:09 Dai Ngo [this message]
2022-07-12 20:09 ` [PATCH 1/2] NFSD: keep track of the number of v4 clients in the system Dai Ngo
2022-07-12 20:09 ` [PATCH 2/2] NFSD: limit the number of v4 clients to 4096 per 4GB of system memory Dai Ngo
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=1657656553-16493-1-git-send-email-dai.ngo@oracle.com \
--to=dai.ngo@oracle.com \
--cc=chuck.lever@oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.