Rojin George has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1174682?usp=email )
Change subject: Clear delegation stats if no active states
......................................................................
Clear delegation stats if no active states
During parallel reads & writes from multiple clients it was seen
that delegation logics causes hung, as client indefinitely gets
busy from FSAL layer upon performing rename/delete operations
This CR clear deleg stats if not active states and also sets
the deleg type to NONE, if no delegation are currently granted.
Also protects the deleg_stats within locks for DELEGRETURN
Change-Id: I60b28230dcccd15ecd71415ee3033e12b6a45327
Signed-off-by: Rojin George <itsmerojin(a)gmail.com>
---
M src/Protocols/NFS/nfs4_op_delegreturn.c
M src/SAL/nfs4_state.c
M src/SAL/state_deleg.c
3 files changed, 15 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/82/1174682/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1174682?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: I60b28230dcccd15ecd71415ee3033e12b6a45327
Gerrit-Change-Number: 1174682
Gerrit-PatchSet: 1
Gerrit-Owner: Rojin George <itsmerojin(a)gmail.com>