Rojin George has uploaded this change for review.

View Change

Handle delegation recalls for expired clients

During parallel reads & writes from multiple clients it was seen
that delegation recalls were not progressing as indefinite times
recalls were failing with recall in progress. This was happening
as the client was expired while reserving lease and sd_state was
never getting reset in this process.

This CR handles this issue by setting the state_data.deleg.sd_state
properly and also by wiping off the expired clients in such cases.

Change-Id: Ia94573acdbd83a50fe34afacec0e8c1922ddeb97
Signed-off-by: Rojin George <itsmerojin@gmail.com>
---
M src/FSAL_UP/fsal_up_top.c
1 file changed, 35 insertions(+), 19 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/98/1176498/1

To view, visit change 1176498. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ia94573acdbd83a50fe34afacec0e8c1922ddeb97
Gerrit-Change-Number: 1176498
Gerrit-PatchSet: 1
Gerrit-Owner: Rojin George <itsmerojin@gmail.com>