Frank Filz has uploaded this change for review.
Expire lease immediately when reserve_lease fails.
If a client request bumps into a lease that should have expired,
expire it immediately rather than letting the reaper thread
clean it up. This is because the client will set up a new clientid
(EXCHANGE_ID or SET_CLIENTID) which ends up having the effect of
not actually expiring the state.
Change-Id: I61bfc3fad849592b505af8047ca96af2d0b14085
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/Protocols/NFS/nfs4_op_bind_conn.c
M src/Protocols/NFS/nfs4_op_lockt.c
M src/Protocols/NFS/nfs4_op_open.c
M src/Protocols/NFS/nfs4_op_release_lockowner.c
M src/Protocols/NFS/nfs4_op_renew.c
M src/Protocols/NFS/nfs4_op_sequence.c
M src/SAL/nfs4_lease.c
M src/SAL/nfs4_state_id.c
M src/include/sal_functions.h
9 files changed, 120 insertions(+), 73 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/89/551789/1
To view, visit change 551789. To unsubscribe, or for help writing mail filters, visit settings.