Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224232?usp=email )
Change subject: Support for NFSv4.2 Delegation Timestamp Extensions (RFC 9754)
......................................................................
Support for NFSv4.2 Delegation Timestamp Extensions (RFC 9754)
This PR implements server support for NFSv4.2 delegation timestamp
attributes as required and verified by the DELEG24 pynfs test. All
new attributes, types, and logic only apply to NFSv4.2 clients and
are version-gated for safety and backward compatibility.
• Defined new NFSv4.2 attributes/constants and their XDR types.
New delegation related attributes - FATTR4_TIME_DELEG_MODIFY,
FATTR_TIME_DELEG_ACCESS, FATTR4_OPEN_ARGUMENTS.
• Updated server attribute handling and encoding to expose/handle
these attributes only for v4.2 clients.
• Added support for the OPEN flag and open_arguments structure for
delegation timestamp negotiation.
• Updated the CB_GETATTR response handling with logging and state
management.
With these changes DELEG24 and DELEG25 test cases are passing when
introduced with client retry mechanism.
DELEG24 tests CB_GETATTR without the attribute changes.
DELEG25 tests CB_GETATTR with the attribute changes (retry on NFS4ERR_DELAY).
Change-Id: I78bd57c6d3ef3c30eabf70f31c56d478e59a090c
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/FSAL_UP/fsal_up_top.c
M src/Protocols/NFS/nfs4_op_getattr.c
M src/Protocols/NFS/nfs_proto_tools.c
M src/Protocols/XDR/nfs4.x
M src/SAL/state_deleg.c
M src/include/nfsv41.h
6 files changed, 1,344 insertions(+), 890 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/32/1224232/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1224232?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: I78bd57c6d3ef3c30eabf70f31c56d478e59a090c
Gerrit-Change-Number: 1224232
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>