NFSv4 file delegation
An NFSv4 file delegation is a recallable server grant allowing a client to manage specified opens and cached file state locally while conflicting access is coordinated by the server.
Read and write delegations have different permissions. A write delegation may defer transmitting modified data at application close; conflicting access must be coordinated through return or revocation under the protocol rules. Delegation is not permanent ownership, a backup, or evidence that the server already stores the latest bytes durably.
NFSv4.1 maintains open and locking state under a client lease. After server state loss, grace and reclaim coordinate restoration of prior state; these mechanisms do not certify file-data persistence. See the lease, stateid and state-reclaim records for the version-specific recovery boundary. [4]
Relations
- related
- NFS, Close-to-open consistency, NFS attribute cache, NFS COMMIT, NFSv4 lease, NFSv4 stateid, NFSv4 state reclaim, Nache
Limitations
- Without an OPEN delegation, NFSv4.0 and NFSv4.1 require modified data on server stable storage before protocol CLOSE; delegated close behavior must not be generalized to that case. [1, 2]
Citations
- Haynes and Noveck (editors). NFS Version 4 Protocol. RFC 7530, sections 10.3, 10.4 and 10.6 (NFSv4.0).
- Noveck and Lever (editors). NFS Version 4 Minor Version 1 Protocol. RFC 8881, sections 10.3-10.6 (NFSv4.1).
- RFC 8881 (NFSv4.1), sections 8.3-8.5, lease renewal and crash recovery.