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.

MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on Oct 31 2021, 11:31 PM
Parents
rG627d5d19664f: geli: eli data -> eli_data for consistency with other geom classes
Branches
Unknown
Tags
Unknown