Sukruth Sridharan has uploaded this change for review.
Throttling uid2grp requests for slow Directory Service provider environments.
In environments with a slow Directory Service Provider, where users are part
of large number of groups, and Manage_Gids is set to True, uid2grp queries
made by ganesha can fail if a large number of them are made in parallel.
This patch throttles the number of concurrent uid2grp queries that ganesha
makes. It also reduces the number of getgrouplist() calls made by ganesha by 1.
Change-Id: Ic934424f50b2b8a8881b777039a50899df371e01
Signed-off-by: ssukruth <sukruthsridharan@gmail.com>
---
M src/include/gsh_config.h
M src/include/uid2grp.h
M src/support/nfs_read_conf.c
M src/support/uid2grp.c
M src/support/uid2grp_cache.c
5 files changed, 50 insertions(+), 26 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/93/504693/1
To view, visit change 504693. To unsubscribe, or for help writing mail filters, visit settings.