HomeFreeBSD

nfscl: Add a diagnostic printf() for a "should never happen" case

Description

nfscl: Add a diagnostic printf() for a "should never happen" case

When a NFSv4.1/4.2 session to the NFS server (not a pNFS DS) is
replaced, the old session should always be marked defunct by
nfsess_defunct being set non-zero.

However, the hang reported by the PR suggests that this might
be the case.

This patch adds a printf() to indicate this has somehow happened.

PR: 260011

(cherry picked from commit a7bb120f8b8735bc4c417b3c8fc2308c3d2964aa)

Details

Provenance
rmacklemAuthored on May 27 2022, 9:32 PM
Parents
rGde5e5c428f49: nfscl: Do not handle NFSERR_BADSESSION in operation code
Branches
Unknown
Tags
Unknown