Rojin George has uploaded this change for review.

View Change

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@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 change 1174682. To unsubscribe, or for help writing mail filters, visit settings.

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@gmail.com>