Change in ...nfs-ganesha[next]: ClientID - Add an upper limit on the number of ClientIDs.
pradeepthomas@gmail.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/516613 ) Change subject: ClientID - Add an upper limit on the number of ClientIDs. ...................................................................... ClientID - Add an upper limit on the number of ClientIDs. With filesystem recovery backend, each ClientID translates to one directory. With load generators like LDX, this could lead reaching inode limits of the root filesystem (if /var/lib/nfs/ganesha is part of it). Once inode limit is reached, system become unusable until recovery directories are cleaned up (either by lease expiry or manually). This patch adds an upper limit to guardrail against getting into such scenarios. The limit is disabled by default. Change-Id: Ib40cd4184812ef65e051f8907ddc99f0ef4b15cd Signed-off-by: Pradeep <pradeepthomas@gmail.com> --- M src/SAL/nfs4_clientid.c M src/config_samples/config.txt M src/include/gsh_config.h M src/support/nfs_read_conf.c 4 files changed, 24 insertions(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/13/516613/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/516613 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Ib40cd4184812ef65e051f8907ddc99f0ef4b15cd Gerrit-Change-Number: 516613 Gerrit-PatchSet: 1 Gerrit-Owner: pradeepthomas@gmail.com Gerrit-MessageType: newchange
participants (1)
-
Name of user not set (GerritHub)