Rojin George has uploaded this change for review.

View Change

NFSv4+ Server to have limit for Open files per client

This CR adds in the maximum number of files that could be opened
by a client. One misbehaving client could potentially open multiple
files and exhaust the open FD limit allowed by ganesha's cgroup.
Beyond this limit, client gets denied if it tries to open
too many files.

Change-Id: Idc58a676c1c937312e1dc20bf0581ff6408e6133
Signed-off-by: Rojin George <itsmerojin@gmail.com>
---
M src/SAL/nfs4_clientid.c
M src/SAL/nfs4_state.c
M src/config_samples/config.txt
M src/doc/man/ganesha-core-config.rst
M src/include/gsh_config.h
M src/include/sal_data.h
M src/support/nfs_read_conf.c
7 files changed, 43 insertions(+), 8 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/67/1171967/1

To view, visit change 1171967. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Idc58a676c1c937312e1dc20bf0581ff6408e6133
Gerrit-Change-Number: 1171967
Gerrit-PatchSet: 1
Gerrit-Owner: Rojin George <itsmerojin@gmail.com>
Gerrit-MessageType: newchange