HomeFreeBSD

nfscl: Do pNFS layout return_on_close synchronously

Description

nfscl: Do pNFS layout return_on_close synchronously

For pNFS servers that specify that Layouts are to be returned
upon close, they may expect that LayoutReturn to happen before
the associated Close.

This patch modifies the NFSv4.1/4.2 pNFS client so that this
is done. This only affects a pNFS mount against a non-FreeBSD
NFSv4.1/4.2 server that specifies return_on_close in LayoutGet
replies.

Found during a recent IETF NFSv4 working group testing event.

(cherry picked from commit d5d2ce1c8550a41e7374893ccd864c172461221f)

Details

Provenance
rmacklemAuthored on Oct 31 2021, 11:31 PM
Parents
rG5d9215b315a9: nfscl: Move release of the clientID lock into nfscl_doclose()
Branches
Unknown
Tags
Unknown