Zhitao Li has uploaded this change for review.

View Change

feat(lock): skip unlock from some FSAL on stale nfs4_clientid

Some FSAL persists enough information about lock. Itself can
control whether to reclaim lock, not completely trusting NFS
client. If VIP is detached, the FSAL expects lock record keep in
the backend storage, which is used to check following reclaim.

See https://github.com/nfs-ganesha/nfs-ganesha/issues/1108

Change-Id: Idb223b115fe846968644c86ddc7f9797fca32957
Signed-off-by: zhitaoli <zhitao.li@iomesh.com>
---
M src/FSAL/fsal_config.c
M src/SAL/state_lock.c
M src/include/fsal_types.h
M src/libntirpc
4 files changed, 22 insertions(+), 1 deletion(-)

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

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

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Idb223b115fe846968644c86ddc7f9797fca32957
Gerrit-Change-Number: 1193517
Gerrit-PatchSet: 1
Gerrit-Owner: Zhitao Li <zhitao.li@iomesh.com>