Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1221433?usp=email )
Change subject: Add server-side support for NFS4ERR_DELEG_REVOKED error handling.
......................................................................
Add server-side support for NFS4ERR_DELEG_REVOKED error handling.
This change implements handling of NFS4ERR_DELEG_REVOKED in the
server to comply with NFSv4 protocol requirements.
• Introduces a global revoked delegation list to track revoked
delegation stateids and prevent their reuse.
• Adds functions to add, check, and remove revoked stateids during
delegation revocation and cleanup (add_to_revoked_delegations,
is_stateid_revoked, remove_revoked_stateid).
• Updates stateid validation to return NFS4ERR_DELEG_REVOKED
immediately if the stateid is revoked.
• Enhances FREE_STATEID handling to clean up revoked stateids and
release resources when clients acknowledge revocation.
Change-Id: I8c0fd410a6da2075c8c4e6abcdcc6d42a7b380cd
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/Protocols/NFS/nfs4_op_free_stateid.c
M src/SAL/nfs4_state_id.c
M src/SAL/state_deleg.c
M src/include/sal_data.h
M src/include/sal_functions.h
5 files changed, 237 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/33/1221433/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1221433?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I8c0fd410a6da2075c8c4e6abcdcc6d42a7b380cd
Gerrit-Change-Number: 1221433
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>