HomeFreeBSD

nfscl: Move delegation high water variables into clientID

Description

nfscl: Move delegation high water variables into clientID

Without this patch, the variables used to maintain a high
water limit for delegations are global and apply to all
mounts. This patch moves them into the clientID structure,
which makes them per mount. This is needed to add support
for the CB_RECALL_ANY callback in a future commit.

The only effect of this patch is an increase in the
total number of delegations held if there are multiple NFSv4
mounts to NFSv4 servers with delegations enabled.
Since the default of NFSCLDELEGHIGHWATER is fairly small,
this should not have a significant impact.

(cherry picked from commit f5aff1871d3273b3cd3621ea5d3e37cdd807e66f)

Details

Provenance
rmacklemAuthored on Feb 17 2025, 12:01 AM
Parents
rG916476b149a3: if_infininband: Support BPF write for broadcast frames
Branches
Unknown
Tags
Unknown