Jeff Layton has uploaded this change for review.

View Change

SAL: decrement reclaim_completes counter when expiring client

A client could send a RECLAIM_COMPLETE and then end up reestablishing
the clientid during the grace period, and then send another one. If that
happens we'll expire the old client, but the reclaim_completes counter
will be artificially high.

Ensure we decrement reclaim_completes when expiring a client that has
sent one.

Change-Id: I046a95e320c9fed2ae887eab3056f95ff4ab7951
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
M src/SAL/nfs4_clientid.c
M src/SAL/nfs4_recovery.c
M src/include/sal_functions.h
3 files changed, 6 insertions(+), 1 deletion(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I046a95e320c9fed2ae887eab3056f95ff4ab7951
Gerrit-Change-Number: 428012
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton@redhat.com>