Dipit Grover has uploaded this change for review.
Idmapper: Introduce reaper to remove expired user, group cache entries
This change adds cache reaper functionality for the user and group
caches. The reaper runs periodically and removes the expired cache
entries. The reaper execution interval is configurable through the
Ganesha config.
Note that the default value of this execution interval is currently
set to about ten years, which basically means that the reaper is
disabled. It will be enabled in the future based on the cache
performance in production.
Change-Id: I6588798f72e94f3157e1622872c1da3c2924534c
Signed-off-by: Dipit Grover <dipit@google.com>
---
M src/doc/man/ganesha-core-config.rst
M src/idmapper/idmapper_cache.c
M src/include/gsh_config.h
M src/support/nfs_read_conf.c
4 files changed, 93 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/43/1177643/1
To view, visit change 1177643. To unsubscribe, or for help writing mail filters, visit settings.