HomeFreeBSD

Work around the "nfscl: bad open cnt on server" assertion

Description

Work around the "nfscl: bad open cnt on server" assertion
that can happen when rerooting into NFSv4 rootfs with kernel
built with INVARIANTS.

I've talked to rmacklem@ (back in 2017), and while the root cause
is still unknown, the case guarded by assertion (nfscl_doclose()
being called from VOP_INACTIVE) is believed to be safe, and the
whole thing seems to run just fine.

Obtained from: CheriBSD
MFC after: 2 weeks
Sponsored by: DARPA, AFRL

Details

Provenance
traszAuthored on
Parents
rS344276: Bump the default kern.rpc.gss.client_max from 128 to 1024.
Branches
Unknown
Tags
Unknown