Sukruth Sridharan has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/504693 )
Change subject: Throttling uid2grp requests for slow Directory Service provider
environments.
......................................................................
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(a)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
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/504693
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: Ic934424f50b2b8a8881b777039a50899df371e01
Gerrit-Change-Number: 504693
Gerrit-PatchSet: 1
Gerrit-Owner: Sukruth Sridharan <sukruthsridharan(a)gmail.com>
Gerrit-MessageType: newchange