Jeff Layton has uploaded this change for review.

View Change

NFS: don't check for grace period in nfs4_chk_clid

We will validate cid_allow_reclaim flag at the point where we are
actually reclaiming. There are also some ways that we can go back into
grace and load a new recovery db after coming out of it with certain
dbus commands.

In that situation we could conceivably have a client establish a session
outside of the grace period and then issue reclaim requests against it
after the grace period has restarted (maybe a merging of state held by
two servers in the cluster?).

Drop this check from the code since we always check cid_allow_reclaim
in conjunction with grace period checks at the time of the reclaim.

Change-Id: I7cfd5ad6cd74c9358e9ec86710d0a31ad1ffa883
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
M src/SAL/nfs4_recovery.c
1 file changed, 0 insertions(+), 3 deletions(-)

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

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

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