HomeFreeBSD

nfscl: Add optional support for slots marked bad

Description

nfscl: Add optional support for slots marked bad

This patch adds support for session slots marked bad
to nfsv4_sequencelookup(). An additional boolean
argument indicates if the check for slots marked bad
should be done.

The "cred" argument added to nfscl_reqstart() by
commit 326bcf9394c7 is now passed into nfsv4_setquence()
so that it can optionally set the boolean argument
for nfsv4_sequencelookup(). When optionally enabled,
nfsv4_setsequence() will do a DestroySession when all
slots are marked bad.

Since the code that marks slots bad is not yet committed,
this patch should not result in a semantics change.

PR: 260011
(cherry picked from commit 40ada74ee1dade637675cc22d50da8254046a197)

Details

Provenance
rmacklemAuthored on Jul 9 2022, 9:43 PM
Parents
rG4c941909462b: Adjust local_rpcb() definition to avoid clang 15 warning
Branches
Unknown
Tags
Unknown