Attention is currently required from: Frank Filz.
Hello Frank Filz,
I'd like you to do a code review.
Please visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1215675?usp=email
to review the following change.
Change subject: Use idmapper_negative_cache for uid when fetching groups.
......................................................................
Use idmapper_negative_cache for uid when fetching groups.
If fetching groups for uid failed, meaning uid does not
exist, we would previously loop trying to get the groups
for that uid on every request.
This commit implements the negative cache, to avoid the loop.
Added uid negative lookup, and save into the cache if not found.
Change-Id: Ia6ce0d4fb513d4464e0d837956a540d2962b42ee
Signed-off-by: Lior Suliman <liorsu(a)gmail.com>
---
M src/support/uid2grp.c
1 file changed, 37 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/75/1215675/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1215675?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: Ia6ce0d4fb513d4464e0d837956a540d2962b42ee
Gerrit-Change-Number: 1215675
Gerrit-PatchSet: 1
Gerrit-Owner: Lior Suliman <liorsu(a)google.com>
Gerrit-Reviewer: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-Attention: Frank Filz <ffilzlnx(a)mindspring.com>