HomeFreeBSD

nfsd: Fix Link conformance with RFC8881 for delegations

Description

nfsd: Fix Link conformance with RFC8881 for delegations

RFC8881 specifies that, when a Link operation occurs on an
NFSv4, that file delegations issued to other clients must
be recalled. Discovered during a recent discussion on nfsv4@ietf.org.

Although I have not observed a problem caused by not doing
the required delegation recall, it is definitely required
by the RFC, so this patch makes the server do the recall.

Tested during a recent NFSv4 IETF Bakeathon event.

Approved by: re (cperciva)

(cherry picked from commit 3f65000b6b1460a7a23cd83014bb41a68d1a8a19)
(cherry picked from commit 3c414a8c2fb37ca37de454aaa145e7bcaefcaa05)

Details

Provenance
rmacklemAuthored on May 4 2024, 9:30 PM
Parents
rGba0bd7cea412: Merge commit 73bb8d9d92f6 from llvm-project (by Jonathan Peyton):
Branches
Unknown
Tags
Unknown