Dipit Grover has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1177647?usp=email )
Change subject: Idmapper: Introduce negative cache for group entries
......................................................................
Idmapper: Introduce negative cache for group entries
This change introduces a negative cache for storing group entries
that failed idmapping. The validity and max-count of such entries
is derived from the DIRECTORY_SERVICES section of the Ganesha
config.
This cache is maintained separately from positive cache, to
allow for independent operation, configuration and maintenance.
To avoid code duplication, this CL generalises the existing code
for negative user cache and adapts it for both negative user and
negative group entities.
Change-Id: I2120b730ce3b2bb33d953d657cc9717c8338311b
Signed-off-by: Dipit Grover <dipit(a)google.com>
---
M src/doc/man/ganesha-core-config.rst
M src/idmapper/idmapper_negative_cache.c
M src/include/gsh_config.h
M src/include/idmapper.h
M src/support/nfs_read_conf.c
5 files changed, 247 insertions(+), 86 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/47/1177647/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1177647?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I2120b730ce3b2bb33d953d657cc9717c8338311b
Gerrit-Change-Number: 1177647
Gerrit-PatchSet: 1
Gerrit-Owner: Dipit Grover <dipitgrover(a)gmail.com>